org.tensorflow.framework.AttrValueOrBuilder Maven / Gradle / Ivy
// 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;
*/
org.nd4j.shade.protobuf.ByteString getS();
/**
*
* "int"
*
*
* int64 i = 3;
*/
long getI();
/**
*
* "float"
*
*
* float f = 4;
*/
float getF();
/**
*
* "bool"
*
*
* bool b = 5;
*/
boolean getB();
/**
*
* "type"
*
*
* .tensorflow.DataType type = 6;
*/
int getTypeValue();
/**
*
* "type"
*
*
* .tensorflow.DataType type = 6;
*/
org.tensorflow.framework.DataType getType();
/**
*
* "shape"
*
*
* .tensorflow.TensorShapeProto shape = 7;
*/
boolean hasShape();
/**
*
* "shape"
*
*
* .tensorflow.TensorShapeProto shape = 7;
*/
org.tensorflow.framework.TensorShapeProto getShape();
/**
*
* "shape"
*
*
* .tensorflow.TensorShapeProto shape = 7;
*/
org.tensorflow.framework.TensorShapeProtoOrBuilder getShapeOrBuilder();
/**
*
* "tensor"
*
*
* .tensorflow.TensorProto tensor = 8;
*/
boolean hasTensor();
/**
*
* "tensor"
*
*
* .tensorflow.TensorProto tensor = 8;
*/
org.tensorflow.framework.TensorProto getTensor();
/**
*
* "tensor"
*
*
* .tensorflow.TensorProto tensor = 8;
*/
org.tensorflow.framework.TensorProtoOrBuilder getTensorOrBuilder();
/**
*
* any "list(...)"
*
*
* .tensorflow.AttrValue.ListValue list = 1;
*/
boolean hasList();
/**
*
* any "list(...)"
*
*
* .tensorflow.AttrValue.ListValue list = 1;
*/
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;
*/
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;
*/
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;
*/
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;
*/
org.nd4j.shade.protobuf.ByteString
getPlaceholderBytes();
public org.tensorflow.framework.AttrValue.ValueCase getValueCase();
}