org.tensorflow.framework.FunctionDefOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: function.proto
package org.tensorflow.framework;
public interface FunctionDefOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.FunctionDef)
com.google.protobuf.MessageOrBuilder {
/**
*
* The definition of the function's name, arguments, return values,
* attrs etc.
*
*
* optional .tensorflow.OpDef signature = 1;
*/
boolean hasSignature();
/**
*
* The definition of the function's name, arguments, return values,
* attrs etc.
*
*
* optional .tensorflow.OpDef signature = 1;
*/
org.tensorflow.framework.OpDef getSignature();
/**
*
* The definition of the function's name, arguments, return values,
* attrs etc.
*
*
* optional .tensorflow.OpDef signature = 1;
*/
org.tensorflow.framework.OpDefOrBuilder getSignatureOrBuilder();
/**
*
* Attributes specific to this function definition.
*
*
* map<string, .tensorflow.AttrValue> attr = 5;
*/
int getAttrCount();
/**
*
* Attributes specific to this function definition.
*
*
* map<string, .tensorflow.AttrValue> attr = 5;
*/
boolean containsAttr(
java.lang.String key);
/**
* Use {@link #getAttrMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getAttr();
/**
*
* Attributes specific to this function definition.
*
*
* map<string, .tensorflow.AttrValue> attr = 5;
*/
java.util.Map
getAttrMap();
/**
*
* Attributes specific to this function definition.
*
*
* map<string, .tensorflow.AttrValue> attr = 5;
*/
org.tensorflow.framework.AttrValue getAttrOrDefault(
java.lang.String key,
org.tensorflow.framework.AttrValue defaultValue);
/**
*
* Attributes specific to this function definition.
*
*
* map<string, .tensorflow.AttrValue> attr = 5;
*/
org.tensorflow.framework.AttrValue getAttrOrThrow(
java.lang.String key);
/**
*
* By convention, "op" in node_def is resolved by consulting with a
* user-defined library first. If not resolved, "func" is assumed to
* be a builtin op.
*
*
* repeated .tensorflow.NodeDef node_def = 3;
*/
java.util.List
getNodeDefList();
/**
*
* By convention, "op" in node_def is resolved by consulting with a
* user-defined library first. If not resolved, "func" is assumed to
* be a builtin op.
*
*
* repeated .tensorflow.NodeDef node_def = 3;
*/
org.tensorflow.framework.NodeDef getNodeDef(int index);
/**
*
* By convention, "op" in node_def is resolved by consulting with a
* user-defined library first. If not resolved, "func" is assumed to
* be a builtin op.
*
*
* repeated .tensorflow.NodeDef node_def = 3;
*/
int getNodeDefCount();
/**
*
* By convention, "op" in node_def is resolved by consulting with a
* user-defined library first. If not resolved, "func" is assumed to
* be a builtin op.
*
*
* repeated .tensorflow.NodeDef node_def = 3;
*/
java.util.List extends org.tensorflow.framework.NodeDefOrBuilder>
getNodeDefOrBuilderList();
/**
*
* By convention, "op" in node_def is resolved by consulting with a
* user-defined library first. If not resolved, "func" is assumed to
* be a builtin op.
*
*
* repeated .tensorflow.NodeDef node_def = 3;
*/
org.tensorflow.framework.NodeDefOrBuilder getNodeDefOrBuilder(
int index);
/**
*
* A mapping from the output arg names from `signature` to the
* outputs from `node_def` that should be returned by the function.
*
*
* map<string, string> ret = 4;
*/
int getRetCount();
/**
*
* A mapping from the output arg names from `signature` to the
* outputs from `node_def` that should be returned by the function.
*
*
* map<string, string> ret = 4;
*/
boolean containsRet(
java.lang.String key);
/**
* Use {@link #getRetMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getRet();
/**
*
* A mapping from the output arg names from `signature` to the
* outputs from `node_def` that should be returned by the function.
*
*
* map<string, string> ret = 4;
*/
java.util.Map
getRetMap();
/**
*
* A mapping from the output arg names from `signature` to the
* outputs from `node_def` that should be returned by the function.
*
*
* map<string, string> ret = 4;
*/
java.lang.String getRetOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
*
* A mapping from the output arg names from `signature` to the
* outputs from `node_def` that should be returned by the function.
*
*
* map<string, string> ret = 4;
*/
java.lang.String getRetOrThrow(
java.lang.String key);
}