Interface Model.ModelProto.NodeOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
Model.ModelProto.Node, Model.ModelProto.Node.Builder
Enclosing class:
Model.ModelProto

public static interface Model.ModelProto.NodeOrBuilder extends MessageOrBuilder
  • Method Details

    • getId

      long getId()
      Unique node ID.
      
      int64 id = 1;
      Returns:
      The id.
    • getName

      String getName()
      Human-readable name of the node.
      
      string name = 2;
      Returns:
      The name.
    • getNameBytes

      ByteString getNameBytes()
      Human-readable name of the node.
      
      string name = 2;
      Returns:
      The bytes for name.
    • getAutotune

      boolean getAutotune()
      An indication whether autotuning is enabled for this node.
      
      bool autotune = 3;
      Returns:
      The autotune.
    • getBufferedBytes

      long getBufferedBytes()
      The number of bytes stored in this node's buffer.
      
      int64 buffered_bytes = 4;
      Returns:
      The bufferedBytes.
    • getBufferedElements

      long getBufferedElements()
      The number of elements stored in this node's buffer.
      
      int64 buffered_elements = 5;
      Returns:
      The bufferedElements.
    • getBytesConsumed

      long getBytesConsumed()
      The number of bytes consumed by the node.
      
      int64 bytes_consumed = 6;
      Returns:
      The bytesConsumed.
    • getBytesProduced

      long getBytesProduced()
      The number of bytes produced by the node.
      
      int64 bytes_produced = 7;
      Returns:
      The bytesProduced.
    • getNumElements

      long getNumElements()
      The number of elements produced by the node.
      
      int64 num_elements = 8;
      Returns:
      The numElements.
    • getProcessingTime

      long getProcessingTime()
      The aggregate processing time spent in this node in nanoseconds.
      
      int64 processing_time = 9;
      Returns:
      The processingTime.
    • getRecordMetrics

      boolean getRecordMetrics()
      An indication whether this node records metrics about produced and
      consumed elements.
      
      bool record_metrics = 10;
      Returns:
      The recordMetrics.
    • getParametersList

      Parameters of this node.
      
      repeated .tensorflow.data.model.ModelProto.Node.Parameter parameters = 11;
    • getParameters

      Model.ModelProto.Node.Parameter getParameters(int index)
      Parameters of this node.
      
      repeated .tensorflow.data.model.ModelProto.Node.Parameter parameters = 11;
    • getParametersCount

      int getParametersCount()
      Parameters of this node.
      
      repeated .tensorflow.data.model.ModelProto.Node.Parameter parameters = 11;
    • getParametersOrBuilderList

      List<? extends Model.ModelProto.Node.ParameterOrBuilder> getParametersOrBuilderList()
      Parameters of this node.
      
      repeated .tensorflow.data.model.ModelProto.Node.Parameter parameters = 11;
    • getParametersOrBuilder

      Model.ModelProto.Node.ParameterOrBuilder getParametersOrBuilder(int index)
      Parameters of this node.
      
      repeated .tensorflow.data.model.ModelProto.Node.Parameter parameters = 11;
    • getInputProcessingTimeSum

      double getInputProcessingTimeSum()
      Statistic of inputs processing time history.
      
      double input_processing_time_sum = 12;
      Returns:
      The inputProcessingTimeSum.
    • getInputProcessingTimeCount

      long getInputProcessingTimeCount()
      int64 input_processing_time_count = 13;
      Returns:
      The inputProcessingTimeCount.
    • getInputsList

      List<Long> getInputsList()
      IDs of inputs of this node.
      
      repeated int64 inputs = 14;
      Returns:
      A list containing the inputs.
    • getInputsCount

      int getInputsCount()
      IDs of inputs of this node.
      
      repeated int64 inputs = 14;
      Returns:
      The count of inputs.
    • getInputs

      long getInputs(int index)
      IDs of inputs of this node.
      
      repeated int64 inputs = 14;
      Parameters:
      index - The index of the element to return.
      Returns:
      The inputs at the given index.
    • getNodeClassValue

      int getNodeClassValue()
      Class of this node.
      
      .tensorflow.data.model.NodeClass node_class = 15;
      Returns:
      The enum numeric value on the wire for nodeClass.
    • getNodeClass

      Model.NodeClass getNodeClass()
      Class of this node.
      
      .tensorflow.data.model.NodeClass node_class = 15;
      Returns:
      The nodeClass.
    • getRatio

      double getRatio()
      Ratio of input to output elements. This is only used by KNOWN_RATIO and
      ASYNC_KNOWN_RATIO nodes.
      
      double ratio = 16;
      Returns:
      The ratio.
    • getMemoryRatio

      double getMemoryRatio()
      Ratio identifies how many parallelism calls are introduced by one
      buffered element. This is only used by ASYNC_KNOWN_RATIO nodes.
      
      double memory_ratio = 17;
      Returns:
      The memoryRatio.