Interface WhileContextDefOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
WhileContextDef, WhileContextDef.Builder

public interface WhileContextDefOrBuilder extends MessageOrBuilder
  • Method Details

    • getContextName

      String getContextName()
      Name of the context.
      
      string context_name = 1;
      Returns:
      The contextName.
    • getContextNameBytes

      ByteString getContextNameBytes()
      Name of the context.
      
      string context_name = 1;
      Returns:
      The bytes for contextName.
    • getParallelIterations

      int getParallelIterations()
      The number of iterations allowed to run in parallel.
      
      int32 parallel_iterations = 2;
      Returns:
      The parallelIterations.
    • getBackProp

      boolean getBackProp()
      Whether backprop is enabled for this while loop.
      
      bool back_prop = 3;
      Returns:
      The backProp.
    • getSwapMemory

      boolean getSwapMemory()
      Whether GPU-CPU memory swap is enabled for this loop.
      
      bool swap_memory = 4;
      Returns:
      The swapMemory.
    • getPivotName

      String getPivotName()
      Name of the pivot tensor.
      
      string pivot_name = 5;
      Returns:
      The pivotName.
    • getPivotNameBytes

      ByteString getPivotNameBytes()
      Name of the pivot tensor.
      
      string pivot_name = 5;
      Returns:
      The bytes for pivotName.
    • getPivotForPredName

      String getPivotForPredName()
      Name of the pivot_for_pred tensor.
      
      string pivot_for_pred_name = 6;
      Returns:
      The pivotForPredName.
    • getPivotForPredNameBytes

      ByteString getPivotForPredNameBytes()
      Name of the pivot_for_pred tensor.
      
      string pivot_for_pred_name = 6;
      Returns:
      The bytes for pivotForPredName.
    • getPivotForBodyName

      String getPivotForBodyName()
      Name of the pivot_for_body tensor.
      
      string pivot_for_body_name = 7;
      Returns:
      The pivotForBodyName.
    • getPivotForBodyNameBytes

      ByteString getPivotForBodyNameBytes()
      Name of the pivot_for_body tensor.
      
      string pivot_for_body_name = 7;
      Returns:
      The bytes for pivotForBodyName.
    • getLoopExitNamesList

      List<String> getLoopExitNamesList()
      List of names for exit tensors.
      
      repeated string loop_exit_names = 8;
      Returns:
      A list containing the loopExitNames.
    • getLoopExitNamesCount

      int getLoopExitNamesCount()
      List of names for exit tensors.
      
      repeated string loop_exit_names = 8;
      Returns:
      The count of loopExitNames.
    • getLoopExitNames

      String getLoopExitNames(int index)
      List of names for exit tensors.
      
      repeated string loop_exit_names = 8;
      Parameters:
      index - The index of the element to return.
      Returns:
      The loopExitNames at the given index.
    • getLoopExitNamesBytes

      ByteString getLoopExitNamesBytes(int index)
      List of names for exit tensors.
      
      repeated string loop_exit_names = 8;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the loopExitNames at the given index.
    • getLoopEnterNamesList

      List<String> getLoopEnterNamesList()
      List of names for enter tensors.
      
      repeated string loop_enter_names = 10;
      Returns:
      A list containing the loopEnterNames.
    • getLoopEnterNamesCount

      int getLoopEnterNamesCount()
      List of names for enter tensors.
      
      repeated string loop_enter_names = 10;
      Returns:
      The count of loopEnterNames.
    • getLoopEnterNames

      String getLoopEnterNames(int index)
      List of names for enter tensors.
      
      repeated string loop_enter_names = 10;
      Parameters:
      index - The index of the element to return.
      Returns:
      The loopEnterNames at the given index.
    • getLoopEnterNamesBytes

      ByteString getLoopEnterNamesBytes(int index)
      List of names for enter tensors.
      
      repeated string loop_enter_names = 10;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the loopEnterNames at the given index.
    • hasValuesDef

      boolean hasValuesDef()
      Values and external values in control flow context.
      
      .tensorflow.ValuesDef values_def = 9;
      Returns:
      Whether the valuesDef field is set.
    • getValuesDef

      ValuesDef getValuesDef()
      Values and external values in control flow context.
      
      .tensorflow.ValuesDef values_def = 9;
      Returns:
      The valuesDef.
    • getValuesDefOrBuilder

      ValuesDefOrBuilder getValuesDefOrBuilder()
      Values and external values in control flow context.
      
      .tensorflow.ValuesDef values_def = 9;
    • getMaximumIterationsName

      String getMaximumIterationsName()
      Optional name of the maximum_iterations tensor.
      
      string maximum_iterations_name = 11;
      Returns:
      The maximumIterationsName.
    • getMaximumIterationsNameBytes

      ByteString getMaximumIterationsNameBytes()
      Optional name of the maximum_iterations tensor.
      
      string maximum_iterations_name = 11;
      Returns:
      The bytes for maximumIterationsName.
    • getNestedContextsList

      List<ControlFlowContextDef> getNestedContextsList()
      Contexts contained inside this context (e.g. nested whiles).
      
      repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
    • getNestedContexts

      ControlFlowContextDef getNestedContexts(int index)
      Contexts contained inside this context (e.g. nested whiles).
      
      repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
    • getNestedContextsCount

      int getNestedContextsCount()
      Contexts contained inside this context (e.g. nested whiles).
      
      repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
    • getNestedContextsOrBuilderList

      List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList()
      Contexts contained inside this context (e.g. nested whiles).
      
      repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
    • getNestedContextsOrBuilder

      ControlFlowContextDefOrBuilder getNestedContextsOrBuilder(int index)
      Contexts contained inside this context (e.g. nested whiles).
      
      repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;