Interface GraphOpCreationOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
GraphOpCreation, GraphOpCreation.Builder

public interface GraphOpCreationOrBuilder extends MessageOrBuilder
  • Method Details

    • getOpType

      String getOpType()
      Type of the op (e.g., "MatMul").
      
      string op_type = 1;
      Returns:
      The opType.
    • getOpTypeBytes

      ByteString getOpTypeBytes()
      Type of the op (e.g., "MatMul").
      
      string op_type = 1;
      Returns:
      The bytes for opType.
    • getOpName

      String getOpName()
      Name of the op (e.g., "Dense/MatMul_1").
      
      string op_name = 2;
      Returns:
      The opName.
    • getOpNameBytes

      ByteString getOpNameBytes()
      Name of the op (e.g., "Dense/MatMul_1").
      
      string op_name = 2;
      Returns:
      The bytes for opName.
    • getGraphName

      String getGraphName()
      Name of the graph that the op is a part of (if available).
      
      string graph_name = 3;
      Returns:
      The graphName.
    • getGraphNameBytes

      ByteString getGraphNameBytes()
      Name of the graph that the op is a part of (if available).
      
      string graph_name = 3;
      Returns:
      The bytes for graphName.
    • getGraphId

      String getGraphId()
      Unique ID of the graph (generated by debugger).
      This is the ID of the immediately-enclosing graph.
      
      string graph_id = 4;
      Returns:
      The graphId.
    • getGraphIdBytes

      ByteString getGraphIdBytes()
      Unique ID of the graph (generated by debugger).
      This is the ID of the immediately-enclosing graph.
      
      string graph_id = 4;
      Returns:
      The bytes for graphId.
    • getDeviceName

      String getDeviceName()
      Name of the device that the op is assigned to (if available).
      
      string device_name = 5;
      Returns:
      The deviceName.
    • getDeviceNameBytes

      ByteString getDeviceNameBytes()
      Name of the device that the op is assigned to (if available).
      
      string device_name = 5;
      Returns:
      The bytes for deviceName.
    • getInputNamesList

      List<String> getInputNamesList()
      Names of the input tensors to the op.
      
      repeated string input_names = 6;
      Returns:
      A list containing the inputNames.
    • getInputNamesCount

      int getInputNamesCount()
      Names of the input tensors to the op.
      
      repeated string input_names = 6;
      Returns:
      The count of inputNames.
    • getInputNames

      String getInputNames(int index)
      Names of the input tensors to the op.
      
      repeated string input_names = 6;
      Parameters:
      index - The index of the element to return.
      Returns:
      The inputNames at the given index.
    • getInputNamesBytes

      ByteString getInputNamesBytes(int index)
      Names of the input tensors to the op.
      
      repeated string input_names = 6;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the inputNames at the given index.
    • getNumOutputs

      int getNumOutputs()
      Number of output tensors emitted by the op.
      
      int32 num_outputs = 7;
      Returns:
      The numOutputs.
    • hasCodeLocation

      boolean hasCodeLocation()
      The unique ID for code location (stack trace) of the op's creation.
      
      .tensorflow.CodeLocation code_location = 8;
      Returns:
      Whether the codeLocation field is set.
    • getCodeLocation

      CodeLocation getCodeLocation()
      The unique ID for code location (stack trace) of the op's creation.
      
      .tensorflow.CodeLocation code_location = 8;
      Returns:
      The codeLocation.
    • getCodeLocationOrBuilder

      CodeLocationOrBuilder getCodeLocationOrBuilder()
      The unique ID for code location (stack trace) of the op's creation.
      
      .tensorflow.CodeLocation code_location = 8;
    • getOutputTensorIdsList

      List<Integer> getOutputTensorIdsList()
      Unique IDs for the output tensors of this op.
      
      repeated int32 output_tensor_ids = 9;
      Returns:
      A list containing the outputTensorIds.
    • getOutputTensorIdsCount

      int getOutputTensorIdsCount()
      Unique IDs for the output tensors of this op.
      
      repeated int32 output_tensor_ids = 9;
      Returns:
      The count of outputTensorIds.
    • getOutputTensorIds

      int getOutputTensorIds(int index)
      Unique IDs for the output tensors of this op.
      
      repeated int32 output_tensor_ids = 9;
      Parameters:
      index - The index of the element to return.
      Returns:
      The outputTensorIds at the given index.