Interface AttrValueOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AttrValue, AttrValue.Builder

public interface AttrValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getS

      com.google.protobuf.ByteString getS()
       "string"
       
      bytes s = 2;
      Returns:
      The s.
    • getI

      long getI()
       "int"
       
      int64 i = 3;
      Returns:
      The i.
    • getF

      float getF()
       "float"
       
      float f = 4;
      Returns:
      The f.
    • getB

      boolean getB()
       "bool"
       
      bool b = 5;
      Returns:
      The b.
    • getTypeValue

      int getTypeValue()
       "type"
       
      .tensorflow.DataType type = 6;
      Returns:
      The enum numeric value on the wire for type.
    • getType

      DataType getType()
       "type"
       
      .tensorflow.DataType type = 6;
      Returns:
      The type.
    • hasShape

      boolean hasShape()
       "shape"
       
      .tensorflow.TensorShapeProto shape = 7;
      Returns:
      Whether the shape field is set.
    • getShape

      TensorShapeProto getShape()
       "shape"
       
      .tensorflow.TensorShapeProto shape = 7;
      Returns:
      The shape.
    • getShapeOrBuilder

      TensorShapeProtoOrBuilder getShapeOrBuilder()
       "shape"
       
      .tensorflow.TensorShapeProto shape = 7;
    • hasTensor

      boolean hasTensor()
       "tensor"
       
      .tensorflow.TensorProto tensor = 8;
      Returns:
      Whether the tensor field is set.
    • getTensor

      TensorProto getTensor()
       "tensor"
       
      .tensorflow.TensorProto tensor = 8;
      Returns:
      The tensor.
    • getTensorOrBuilder

      TensorProtoOrBuilder getTensorOrBuilder()
       "tensor"
       
      .tensorflow.TensorProto tensor = 8;
    • hasList

      boolean hasList()
       any "list(...)"
       
      .tensorflow.AttrValue.ListValue list = 1;
      Returns:
      Whether the list field is set.
    • getList

       any "list(...)"
       
      .tensorflow.AttrValue.ListValue list = 1;
      Returns:
      The list.
    • getListOrBuilder

      AttrValue.ListValueOrBuilder getListOrBuilder()
       any "list(...)"
       
      .tensorflow.AttrValue.ListValue list = 1;
    • hasFunc

      boolean hasFunc()
       "func" represents a function. func.name is a function's name or
       a primitive op's name. func.attr.first is the name of an attr
       defined for that function. func.attr.second is the value for
       that attr in the instantiation.
       
      .tensorflow.NameAttrList func = 10;
      Returns:
      Whether the func field is set.
    • getFunc

      NameAttrList getFunc()
       "func" represents a function. func.name is a function's name or
       a primitive op's name. func.attr.first is the name of an attr
       defined for that function. func.attr.second is the value for
       that attr in the instantiation.
       
      .tensorflow.NameAttrList func = 10;
      Returns:
      The func.
    • getFuncOrBuilder

      NameAttrListOrBuilder getFuncOrBuilder()
       "func" represents a function. func.name is a function's name or
       a primitive op's name. func.attr.first is the name of an attr
       defined for that function. func.attr.second is the value for
       that attr in the instantiation.
       
      .tensorflow.NameAttrList func = 10;
    • getPlaceholder

      java.lang.String getPlaceholder()
       This is a placeholder only used in nodes defined inside a
       function.  It indicates the attr value will be supplied when
       the function is instantiated.  For example, let us suppose a
       node "N" in function "FN". "N" has an attr "A" with value
       placeholder = "foo". When FN is instantiated with attr "foo"
       set to "bar", the instantiated node N's attr A will have been
       given the value "bar".
       
      string placeholder = 9;
      Returns:
      The placeholder.
    • getPlaceholderBytes

      com.google.protobuf.ByteString getPlaceholderBytes()
       This is a placeholder only used in nodes defined inside a
       function.  It indicates the attr value will be supplied when
       the function is instantiated.  For example, let us suppose a
       node "N" in function "FN". "N" has an attr "A" with value
       placeholder = "foo". When FN is instantiated with attr "foo"
       set to "bar", the instantiated node N's attr A will have been
       given the value "bar".
       
      string placeholder = 9;
      Returns:
      The bytes for placeholder.
    • getValueCase

      AttrValue.ValueCase getValueCase()