org.tensorflow.framework.WhileContextDefOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/control_flow.proto
package org.tensorflow.framework;
public interface WhileContextDefOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.WhileContextDef)
org.nd4j.shade.protobuf.MessageOrBuilder {
/**
*
* Name of the context.
*
*
* string context_name = 1;
* @return The contextName.
*/
java.lang.String getContextName();
/**
*
* Name of the context.
*
*
* string context_name = 1;
* @return The bytes for contextName.
*/
org.nd4j.shade.protobuf.ByteString
getContextNameBytes();
/**
*
* The number of iterations allowed to run in parallel.
*
*
* int32 parallel_iterations = 2;
* @return The parallelIterations.
*/
int getParallelIterations();
/**
*
* Whether backprop is enabled for this while loop.
*
*
* bool back_prop = 3;
* @return The backProp.
*/
boolean getBackProp();
/**
*
* Whether GPU-CPU memory swap is enabled for this loop.
*
*
* bool swap_memory = 4;
* @return The swapMemory.
*/
boolean getSwapMemory();
/**
*
* Name of the pivot tensor.
*
*
* string pivot_name = 5;
* @return The pivotName.
*/
java.lang.String getPivotName();
/**
*
* Name of the pivot tensor.
*
*
* string pivot_name = 5;
* @return The bytes for pivotName.
*/
org.nd4j.shade.protobuf.ByteString
getPivotNameBytes();
/**
*
* Name of the pivot_for_pred tensor.
*
*
* string pivot_for_pred_name = 6;
* @return The pivotForPredName.
*/
java.lang.String getPivotForPredName();
/**
*
* Name of the pivot_for_pred tensor.
*
*
* string pivot_for_pred_name = 6;
* @return The bytes for pivotForPredName.
*/
org.nd4j.shade.protobuf.ByteString
getPivotForPredNameBytes();
/**
*
* Name of the pivot_for_body tensor.
*
*
* string pivot_for_body_name = 7;
* @return The pivotForBodyName.
*/
java.lang.String getPivotForBodyName();
/**
*
* Name of the pivot_for_body tensor.
*
*
* string pivot_for_body_name = 7;
* @return The bytes for pivotForBodyName.
*/
org.nd4j.shade.protobuf.ByteString
getPivotForBodyNameBytes();
/**
*
* List of names for exit tensors.
*
*
* repeated string loop_exit_names = 8;
* @return A list containing the loopExitNames.
*/
java.util.List
getLoopExitNamesList();
/**
*
* List of names for exit tensors.
*
*
* repeated string loop_exit_names = 8;
* @return The count of loopExitNames.
*/
int getLoopExitNamesCount();
/**
*
* List of names for exit tensors.
*
*
* repeated string loop_exit_names = 8;
* @param index The index of the element to return.
* @return The loopExitNames at the given index.
*/
java.lang.String getLoopExitNames(int index);
/**
*
* List of names for exit tensors.
*
*
* repeated string loop_exit_names = 8;
* @param index The index of the value to return.
* @return The bytes of the loopExitNames at the given index.
*/
org.nd4j.shade.protobuf.ByteString
getLoopExitNamesBytes(int index);
/**
*
* List of names for enter tensors.
*
*
* repeated string loop_enter_names = 10;
* @return A list containing the loopEnterNames.
*/
java.util.List
getLoopEnterNamesList();
/**
*
* List of names for enter tensors.
*
*
* repeated string loop_enter_names = 10;
* @return The count of loopEnterNames.
*/
int getLoopEnterNamesCount();
/**
*
* List of names for enter tensors.
*
*
* repeated string loop_enter_names = 10;
* @param index The index of the element to return.
* @return The loopEnterNames at the given index.
*/
java.lang.String getLoopEnterNames(int index);
/**
*
* List of names for enter tensors.
*
*
* repeated string loop_enter_names = 10;
* @param index The index of the value to return.
* @return The bytes of the loopEnterNames at the given index.
*/
org.nd4j.shade.protobuf.ByteString
getLoopEnterNamesBytes(int index);
/**
*
* Values and external values in control flow context.
*
*
* .tensorflow.ValuesDef values_def = 9;
* @return Whether the valuesDef field is set.
*/
boolean hasValuesDef();
/**
*
* Values and external values in control flow context.
*
*
* .tensorflow.ValuesDef values_def = 9;
* @return The valuesDef.
*/
org.tensorflow.framework.ValuesDef getValuesDef();
/**
*
* Values and external values in control flow context.
*
*
* .tensorflow.ValuesDef values_def = 9;
*/
org.tensorflow.framework.ValuesDefOrBuilder getValuesDefOrBuilder();
/**
*
* Optional name of the maximum_iterations tensor.
*
*
* string maximum_iterations_name = 11;
* @return The maximumIterationsName.
*/
java.lang.String getMaximumIterationsName();
/**
*
* Optional name of the maximum_iterations tensor.
*
*
* string maximum_iterations_name = 11;
* @return The bytes for maximumIterationsName.
*/
org.nd4j.shade.protobuf.ByteString
getMaximumIterationsNameBytes();
/**
*
* Contexts contained inside this context (e.g. nested whiles).
*
*
* repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
*/
java.util.List
getNestedContextsList();
/**
*
* Contexts contained inside this context (e.g. nested whiles).
*
*
* repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
*/
org.tensorflow.framework.ControlFlowContextDef getNestedContexts(int index);
/**
*
* Contexts contained inside this context (e.g. nested whiles).
*
*
* repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
*/
int getNestedContextsCount();
/**
*
* Contexts contained inside this context (e.g. nested whiles).
*
*
* repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
*/
java.util.List
getNestedContextsOrBuilderList();
/**
*
* Contexts contained inside this context (e.g. nested whiles).
*
*
* repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
*/
org.tensorflow.framework.ControlFlowContextDefOrBuilder getNestedContextsOrBuilder(
int index);
}