org.tensorflow.framework.AttrValueOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/attr_value.proto
package org.tensorflow.framework;
public interface AttrValueOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.AttrValue)
org.nd4j.shade.protobuf.MessageOrBuilder {
/**
*
* "string"
*
*
* bytes s = 2;
* @return Whether the s field is set.
*/
boolean hasS();
/**
*
* "string"
*
*
* bytes s = 2;
* @return The s.
*/
org.nd4j.shade.protobuf.ByteString getS();
/**
*
* "int"
*
*
* int64 i = 3;
* @return Whether the i field is set.
*/
boolean hasI();
/**
*
* "int"
*
*
* int64 i = 3;
* @return The i.
*/
long getI();
/**
*
* "float"
*
*
* float f = 4;
* @return Whether the f field is set.
*/
boolean hasF();
/**
*
* "float"
*
*
* float f = 4;
* @return The f.
*/
float getF();
/**
*
* "bool"
*
*
* bool b = 5;
* @return Whether the b field is set.
*/
boolean hasB();
/**
*
* "bool"
*
*
* bool b = 5;
* @return The b.
*/
boolean getB();
/**
*
* "type"
*
*
* .tensorflow.DataType type = 6;
* @return Whether the type field is set.
*/
boolean hasType();
/**
*
* "type"
*
*
* .tensorflow.DataType type = 6;
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
* "type"
*
*
* .tensorflow.DataType type = 6;
* @return The type.
*/
org.tensorflow.framework.DataType getType();
/**
*
* "shape"
*
*
* .tensorflow.TensorShapeProto shape = 7;
* @return Whether the shape field is set.
*/
boolean hasShape();
/**
*
* "shape"
*
*
* .tensorflow.TensorShapeProto shape = 7;
* @return The shape.
*/
org.tensorflow.framework.TensorShapeProto getShape();
/**
*
* "shape"
*
*
* .tensorflow.TensorShapeProto shape = 7;
*/
org.tensorflow.framework.TensorShapeProtoOrBuilder getShapeOrBuilder();
/**
*
* "tensor"
*
*
* .tensorflow.TensorProto tensor = 8;
* @return Whether the tensor field is set.
*/
boolean hasTensor();
/**
*
* "tensor"
*
*
* .tensorflow.TensorProto tensor = 8;
* @return The tensor.
*/
org.tensorflow.framework.TensorProto getTensor();
/**
*
* "tensor"
*
*
* .tensorflow.TensorProto tensor = 8;
*/
org.tensorflow.framework.TensorProtoOrBuilder getTensorOrBuilder();
/**
*
* any "list(...)"
*
*
* .tensorflow.AttrValue.ListValue list = 1;
* @return Whether the list field is set.
*/
boolean hasList();
/**
*
* any "list(...)"
*
*
* .tensorflow.AttrValue.ListValue list = 1;
* @return The list.
*/
org.tensorflow.framework.AttrValue.ListValue getList();
/**
*
* any "list(...)"
*
*
* .tensorflow.AttrValue.ListValue list = 1;
*/
org.tensorflow.framework.AttrValue.ListValueOrBuilder getListOrBuilder();
/**
*
* "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;
* @return Whether the func field is set.
*/
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;
* @return The func.
*/
org.tensorflow.framework.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;
*/
org.tensorflow.framework.NameAttrListOrBuilder getFuncOrBuilder();
/**
*
* 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;
* @return Whether the placeholder field is set.
*/
boolean hasPlaceholder();
/**
*
* 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;
* @return The placeholder.
*/
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;
* @return The bytes for placeholder.
*/
org.nd4j.shade.protobuf.ByteString
getPlaceholderBytes();
public org.tensorflow.framework.AttrValue.ValueCase getValueCase();
}