org.tensorflow.framework.OpDefOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/op_def.proto
package org.tensorflow.framework;
public interface OpDefOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.OpDef)
com.github.os72.protobuf351.MessageOrBuilder {
/**
*
* Op names starting with an underscore are reserved for internal use.
* Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9_]*".
*
*
* string name = 1;
*/
java.lang.String getName();
/**
*
* Op names starting with an underscore are reserved for internal use.
* Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9_]*".
*
*
* string name = 1;
*/
com.github.os72.protobuf351.ByteString
getNameBytes();
/**
*
* Description of the input(s).
*
*
* repeated .tensorflow.OpDef.ArgDef input_arg = 2;
*/
java.util.List
getInputArgList();
/**
*
* Description of the input(s).
*
*
* repeated .tensorflow.OpDef.ArgDef input_arg = 2;
*/
org.tensorflow.framework.OpDef.ArgDef getInputArg(int index);
/**
*
* Description of the input(s).
*
*
* repeated .tensorflow.OpDef.ArgDef input_arg = 2;
*/
int getInputArgCount();
/**
*
* Description of the input(s).
*
*
* repeated .tensorflow.OpDef.ArgDef input_arg = 2;
*/
java.util.List extends org.tensorflow.framework.OpDef.ArgDefOrBuilder>
getInputArgOrBuilderList();
/**
*
* Description of the input(s).
*
*
* repeated .tensorflow.OpDef.ArgDef input_arg = 2;
*/
org.tensorflow.framework.OpDef.ArgDefOrBuilder getInputArgOrBuilder(
int index);
/**
*
* Description of the output(s).
*
*
* repeated .tensorflow.OpDef.ArgDef output_arg = 3;
*/
java.util.List
getOutputArgList();
/**
*
* Description of the output(s).
*
*
* repeated .tensorflow.OpDef.ArgDef output_arg = 3;
*/
org.tensorflow.framework.OpDef.ArgDef getOutputArg(int index);
/**
*
* Description of the output(s).
*
*
* repeated .tensorflow.OpDef.ArgDef output_arg = 3;
*/
int getOutputArgCount();
/**
*
* Description of the output(s).
*
*
* repeated .tensorflow.OpDef.ArgDef output_arg = 3;
*/
java.util.List extends org.tensorflow.framework.OpDef.ArgDefOrBuilder>
getOutputArgOrBuilderList();
/**
*
* Description of the output(s).
*
*
* repeated .tensorflow.OpDef.ArgDef output_arg = 3;
*/
org.tensorflow.framework.OpDef.ArgDefOrBuilder getOutputArgOrBuilder(
int index);
/**
* repeated .tensorflow.OpDef.AttrDef attr = 4;
*/
java.util.List
getAttrList();
/**
* repeated .tensorflow.OpDef.AttrDef attr = 4;
*/
org.tensorflow.framework.OpDef.AttrDef getAttr(int index);
/**
* repeated .tensorflow.OpDef.AttrDef attr = 4;
*/
int getAttrCount();
/**
* repeated .tensorflow.OpDef.AttrDef attr = 4;
*/
java.util.List extends org.tensorflow.framework.OpDef.AttrDefOrBuilder>
getAttrOrBuilderList();
/**
* repeated .tensorflow.OpDef.AttrDef attr = 4;
*/
org.tensorflow.framework.OpDef.AttrDefOrBuilder getAttrOrBuilder(
int index);
/**
*
* Optional deprecation based on GraphDef versions.
*
*
* .tensorflow.OpDeprecation deprecation = 8;
*/
boolean hasDeprecation();
/**
*
* Optional deprecation based on GraphDef versions.
*
*
* .tensorflow.OpDeprecation deprecation = 8;
*/
org.tensorflow.framework.OpDeprecation getDeprecation();
/**
*
* Optional deprecation based on GraphDef versions.
*
*
* .tensorflow.OpDeprecation deprecation = 8;
*/
org.tensorflow.framework.OpDeprecationOrBuilder getDeprecationOrBuilder();
/**
*
* One-line human-readable description of what the Op does.
*
*
* string summary = 5;
*/
java.lang.String getSummary();
/**
*
* One-line human-readable description of what the Op does.
*
*
* string summary = 5;
*/
com.github.os72.protobuf351.ByteString
getSummaryBytes();
/**
*
* Additional, longer human-readable description of what the Op does.
*
*
* string description = 6;
*/
java.lang.String getDescription();
/**
*
* Additional, longer human-readable description of what the Op does.
*
*
* string description = 6;
*/
com.github.os72.protobuf351.ByteString
getDescriptionBytes();
/**
*
* True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
*
*
* bool is_commutative = 18;
*/
boolean getIsCommutative();
/**
*
* If is_aggregate is true, then this operation accepts N >= 2
* inputs and produces 1 output all of the same type. Should be
* associative and commutative, and produce output with the same
* shape as the input. The optimizer may replace an aggregate op
* taking input from multiple devices with a tree of aggregate ops
* that aggregate locally within each device (and possibly within
* groups of nearby devices) before communicating.
* TODO(josh11b): Implement that optimization.
*
*
* bool is_aggregate = 16;
*/
boolean getIsAggregate();
/**
*
* By default Ops may be moved between devices. Stateful ops should
* either not be moved, or should only be moved if that state can also
* be moved (e.g. via some sort of save / restore).
* Stateful ops are guaranteed to never be optimized away by Common
* Subexpression Elimination (CSE).
*
*
* bool is_stateful = 17;
*/
boolean getIsStateful();
/**
*
* By default, all inputs to an Op must be initialized Tensors. Ops
* that may initialize tensors for the first time should set this
* field to true, to allow the Op to take an uninitialized Tensor as
* input.
*
*
* bool allows_uninitialized_input = 19;
*/
boolean getAllowsUninitializedInput();
}