Interface NamedTensorProtoOrBuilder

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

public interface NamedTensorProtoOrBuilder extends MessageOrBuilder
  • Method Details

    • getName

      String getName()
      Name of the tensor.
      
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      ByteString getNameBytes()
      Name of the tensor.
      
      string name = 1;
      Returns:
      The bytes for name.
    • hasTensor

      boolean hasTensor()
      The client can populate a TensorProto using a tensorflow::Tensor`, or
      directly using the protobuf field accessors.
      The client specifies whether the returned tensor values should be
      filled tensor fields (float_val, int_val, etc.) or encoded in a
      compact form in tensor.tensor_content.
      
      .tensorflow.TensorProto tensor = 2;
      Returns:
      Whether the tensor field is set.
    • getTensor

      TensorProto getTensor()
      The client can populate a TensorProto using a tensorflow::Tensor`, or
      directly using the protobuf field accessors.
      The client specifies whether the returned tensor values should be
      filled tensor fields (float_val, int_val, etc.) or encoded in a
      compact form in tensor.tensor_content.
      
      .tensorflow.TensorProto tensor = 2;
      Returns:
      The tensor.
    • getTensorOrBuilder

      TensorProtoOrBuilder getTensorOrBuilder()
      The client can populate a TensorProto using a tensorflow::Tensor`, or
      directly using the protobuf field accessors.
      The client specifies whether the returned tensor values should be
      filled tensor fields (float_val, int_val, etc.) or encoded in a
      compact form in tensor.tensor_content.
      
      .tensorflow.TensorProto tensor = 2;