classe final pública estática WhileContextDef.Builder
Protocol buffer representing a WhileContext object.
tensorflow.WhileContextDef
type tensorflow.WhileContextDef
Métodos Públicos
WhileContextDef.Builder | addAllLoopEnterNames (valores Iterable <String>) List of names for enter tensors. |
WhileContextDef.Builder | addAllLoopExitNames (valores Iterable <String>) List of names for exit tensors. |
WhileContextDef.Builder | addAllNestedContexts (Iterable <? extends ControlFlowContextDef > valores) Contexts contained inside this context (e.g. |
WhileContextDef.Builder | addLoopEnterNames (valor String) List of names for enter tensors. |
WhileContextDef.Builder | addLoopEnterNamesBytes (com.google.protobuf.ByteString value) List of names for enter tensors. |
WhileContextDef.Builder | addLoopExitNames (valor String) List of names for exit tensors. |
WhileContextDef.Builder | addLoopExitNamesBytes (com.google.protobuf.ByteString value) List of names for exit tensors. |
WhileContextDef.Builder | addNestedContexts ( ControlFlowContextDef.Builder builderForValue) Contexts contained inside this context (e.g. |
WhileContextDef.Builder | addNestedContexts (índice interno , valor ControlFlowContextDef ) Contexts contained inside this context (e.g. |
WhileContextDef.Builder | addNestedContexts (int index, ControlFlowContextDef.Builder builderForValue) Contexts contained inside this context (e.g. |
WhileContextDef.Builder | |
ControlFlowContextDef.Builder | addNestedContextsBuilder (índice int) Contexts contained inside this context (e.g. |
ControlFlowContextDef.Builder | addNestedContextsBuilder () Contexts contained inside this context (e.g. |
WhileContextDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
WhileContextDef | build () |
WhileContextDef | buildPartial () |
WhileContextDef.Builder | limpar () |
WhileContextDef.Builder | clearBackProp () Whether backprop is enabled for this while loop. |
WhileContextDef.Builder | clearContextName () Name of the context. |
WhileContextDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
WhileContextDef.Builder | clearLoopEnterNames () List of names for enter tensors. |
WhileContextDef.Builder | clearLoopExitNames () List of names for exit tensors. |
WhileContextDef.Builder | clearMaximumIterationsName () Optional name of the maximum_iterations tensor. |
WhileContextDef.Builder | clearNestedContexts () Contexts contained inside this context (e.g. |
WhileContextDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WhileContextDef.Builder | clearParallelIterations () The number of iterations allowed to run in parallel. |
WhileContextDef.Builder | clearPivotForBodyName () Name of the pivot_for_body tensor. |
WhileContextDef.Builder | clearPivotForPredName () Name of the pivot_for_pred tensor. |
WhileContextDef.Builder | clearPivotName () Name of the pivot tensor. |
WhileContextDef.Builder | clearSwapMemory () Whether GPU-CPU memory swap is enabled for this loop. |
WhileContextDef.Builder | clearValuesDef () Values and external values in control flow context. |
WhileContextDef.Builder | clone () |
boleano | getBackProp () Whether backprop is enabled for this while loop. |
Fragmento | getContextName () Name of the context. |
com.google.protobuf.ByteString | getContextNameBytes () Name of the context. |
WhileContextDef | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Fragmento | getLoopEnterNames (int index) List of names for enter tensors. |
com.google.protobuf.ByteString | getLoopEnterNamesBytes (int index) List of names for enter tensors. |
int | getLoopEnterNamesCount () List of names for enter tensors. |
com.google.protobuf.ProtocolStringList | getLoopEnterNamesList () List of names for enter tensors. |
Fragmento | getLoopExitNames (índice int) List of names for exit tensors. |
com.google.protobuf.ByteString | getLoopExitNamesBytes (índice int) List of names for exit tensors. |
int | getLoopExitNamesCount () List of names for exit tensors. |
com.google.protobuf.ProtocolStringList | getLoopExitNamesList () List of names for exit tensors. |
Fragmento | getMaximumIterationsName () Optional name of the maximum_iterations tensor. |
com.google.protobuf.ByteString | getMaximumIterationsNameBytes () Optional name of the maximum_iterations tensor. |
ControlFlowContextDef | getNestedContexts (índice int) Contexts contained inside this context (e.g. |
ControlFlowContextDef.Builder | |
List < ControlFlowContextDef.Builder > | getNestedContextsBuilderList () Contexts contained inside this context (e.g. |
int | getNestedContextsCount () Contexts contained inside this context (e.g. |
List < ControlFlowContextDef > | getNestedContextsList () Contexts contained inside this context (e.g. |
ControlFlowContextDefOrBuilder | getNestedContextsOrBuilder (índice int) Contexts contained inside this context (e.g. |
Lista <? estende ControlFlowContextDefOrBuilder > | getNestedContextsOrBuilderList () Contexts contained inside this context (e.g. |
int | getParallelIterations () The number of iterations allowed to run in parallel. |
Fragmento | getPivotForBodyName () Name of the pivot_for_body tensor. |
com.google.protobuf.ByteString | getPivotForBodyNameBytes () Name of the pivot_for_body tensor. |
Fragmento | getPivotForPredName () Name of the pivot_for_pred tensor. |
com.google.protobuf.ByteString | getPivotForPredNameBytes () Name of the pivot_for_pred tensor. |
Fragmento | getPivotName () Name of the pivot tensor. |
com.google.protobuf.ByteString | getPivotNameBytes () Name of the pivot tensor. |
boleano | getSwapMemory () Whether GPU-CPU memory swap is enabled for this loop. |
ValuesDef | getValuesDef () Values and external values in control flow context. |
ValuesDef.Builder | getValuesDefBuilder () Values and external values in control flow context. |
ValuesDefOrBuilder | getValuesDefOrBuilder () Values and external values in control flow context. |
boleano | hasValuesDef () Values and external values in control flow context. |
final booleano | |
WhileContextDef.Builder | mergeFrom (com.google.protobuf.Message other) |
WhileContextDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
final WhileContextDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
WhileContextDef.Builder | |
WhileContextDef.Builder | |
WhileContextDef.Builder | setBackProp (valor booleano) Whether backprop is enabled for this while loop. |
WhileContextDef.Builder | setContextName (valor String) Name of the context. |
WhileContextDef.Builder | setContextNameBytes (com.google.protobuf.ByteString value) Name of the context. |
WhileContextDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
WhileContextDef.Builder | setLoopEnterNames (int index, String value) List of names for enter tensors. |
WhileContextDef.Builder | setLoopExitNames (int index, String value) List of names for exit tensors. |
WhileContextDef.Builder | setMaximumIterationsName (valor String) Optional name of the maximum_iterations tensor. |
WhileContextDef.Builder | setMaximumIterationsNameBytes (com.google.protobuf.ByteString value) Optional name of the maximum_iterations tensor. |
WhileContextDef.Builder | setNestedContexts (int index, ControlFlowContextDef.Builder builderForValue) Contexts contained inside this context (e.g. |
WhileContextDef.Builder | setNestedContexts (índice interno , valor ControlFlowContextDef ) Contexts contained inside this context (e.g. |
WhileContextDef.Builder | setParallelIterations (valor int) The number of iterations allowed to run in parallel. |
WhileContextDef.Builder | setPivotForBodyName (valor String) Name of the pivot_for_body tensor. |
WhileContextDef.Builder | setPivotForBodyNameBytes (com.google.protobuf.ByteString value) Name of the pivot_for_body tensor. |
WhileContextDef.Builder | setPivotForPredName (valor String) Name of the pivot_for_pred tensor. |
WhileContextDef.Builder | setPivotForPredNameBytes (com.google.protobuf.ByteString value) Name of the pivot_for_pred tensor. |
WhileContextDef.Builder | setPivotName (valor String) Name of the pivot tensor. |
WhileContextDef.Builder | setPivotNameBytes (com.google.protobuf.ByteString value) Name of the pivot tensor. |
WhileContextDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
WhileContextDef.Builder | setSwapMemory (valor booleano) Whether GPU-CPU memory swap is enabled for this loop. |
final WhileContextDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
WhileContextDef.Builder | setValuesDef ( ValuesDef.Builder builderForValue) Values and external values in control flow context. |
WhileContextDef.Builder |
Métodos herdados
Métodos Públicos
public WhileContextDef.Builder addAllLoopEnterNames (Iterable <String> values)
List of names for enter tensors.
repeated string loop_enter_names = 10;
public WhileContextDef.Builder addAllLoopExitNames (Iterable <String> values)
List of names for exit tensors.
repeated string loop_exit_names = 8;
public WhileContextDef.Builder addAllNestedContexts (Iterable <? extends ControlFlowContextDef > valores)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public WhileContextDef.Builder addLoopEnterNames (String value)
List of names for enter tensors.
repeated string loop_enter_names = 10;
public WhileContextDef.Builder addLoopEnterNamesBytes (com.google.protobuf.ByteString value)
List of names for enter tensors.
repeated string loop_enter_names = 10;
public WhileContextDef.Builder addLoopExitNames (String value)
List of names for exit tensors.
repeated string loop_exit_names = 8;
public WhileContextDef.Builder addLoopExitNamesBytes (com.google.protobuf.ByteString value)
List of names for exit tensors.
repeated string loop_exit_names = 8;
public WhileContextDef.Builder addNestedContexts ( ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public WhileContextDef.Builder addNestedContexts (int index, ControlFlowContextDef value)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public WhileContextDef.Builder addNestedContexts (int index, ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public WhileContextDef.Builder addNestedContexts (valor ControlFlowContextDef )
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public ControlFlowContextDef.Builder addNestedContextsBuilder (índice interno )
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public ControlFlowContextDef.Builder addNestedContextsBuilder ()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public WhileContextDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public WhileContextDef.Builder clearBackProp ()
Whether backprop is enabled for this while loop.
bool back_prop = 3;
public WhileContextDef.Builder clearLoopEnterNames ()
List of names for enter tensors.
repeated string loop_enter_names = 10;
public WhileContextDef.Builder clearLoopExitNames ()
List of names for exit tensors.
repeated string loop_exit_names = 8;
public WhileContextDef.Builder clearMaximumIterationsName ()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
public WhileContextDef.Builder clearNestedContexts ()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public WhileContextDef.Builder clearParallelIterations ()
The number of iterations allowed to run in parallel.
int32 parallel_iterations = 2;
public WhileContextDef.Builder clearPivotForBodyName ()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
public WhileContextDef.Builder clearPivotForPredName ()
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
public WhileContextDef.Builder clearSwapMemory ()
Whether GPU-CPU memory swap is enabled for this loop.
bool swap_memory = 4;
public WhileContextDef.Builder clearValuesDef ()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
public boolean getBackProp ()
Whether backprop is enabled for this while loop.
bool back_prop = 3;
public String getContextName ()
Name of the context.
string context_name = 1;
public com.google.protobuf.ByteString getContextNameBytes ()
Name of the context.
string context_name = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getLoopEnterNames (índice int)
List of names for enter tensors.
repeated string loop_enter_names = 10;
public com.google.protobuf.ByteString getLoopEnterNamesBytes (int index)
List of names for enter tensors.
repeated string loop_enter_names = 10;
public int getLoopEnterNamesCount ()
List of names for enter tensors.
repeated string loop_enter_names = 10;
public com.google.protobuf.ProtocolStringList getLoopEnterNamesList ()
List of names for enter tensors.
repeated string loop_enter_names = 10;
public String getLoopExitNames (índice int)
List of names for exit tensors.
repeated string loop_exit_names = 8;
public com.google.protobuf.ByteString getLoopExitNamesBytes (int index)
List of names for exit tensors.
repeated string loop_exit_names = 8;
public int getLoopExitNamesCount ()
List of names for exit tensors.
repeated string loop_exit_names = 8;
public com.google.protobuf.ProtocolStringList getLoopExitNamesList ()
List of names for exit tensors.
repeated string loop_exit_names = 8;
public String getMaximumIterationsName ()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
public com.google.protobuf.ByteString getMaximumIterationsNameBytes ()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
public ControlFlowContextDef getNestedContexts (índice int)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public ControlFlowContextDef.Builder getNestedContextsBuilder (índice interno )
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public List < ControlFlowContextDef.Builder > getNestedContextsBuilderList ()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public int getNestedContextsCount ()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public List < ControlFlowContextDef > getNestedContextsList ()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public ControlFlowContextDefOrBuilder getNestedContextsOrBuilder (índice interno )
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
Lista pública <? estende ControlFlowContextDefOrBuilder > getNestedContextsOrBuilderList ()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public int getParallelIterations ()
The number of iterations allowed to run in parallel.
int32 parallel_iterations = 2;
public String getPivotForBodyName ()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
public com.google.protobuf.ByteString getPivotForBodyNameBytes ()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
public String getPivotForPredName ()
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
public com.google.protobuf.ByteString getPivotForPredNameBytes ()
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
public String getPivotName ()
Name of the pivot tensor.
string pivot_name = 5;
public com.google.protobuf.ByteString getPivotNameBytes ()
Name of the pivot tensor.
string pivot_name = 5;
public boolean getSwapMemory ()
Whether GPU-CPU memory swap is enabled for this loop.
bool swap_memory = 4;
public ValuesDef getValuesDef ()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
public ValuesDef.Builder getValuesDefBuilder ()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
public ValuesDefOrBuilder getValuesDefOrBuilder ()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
public boolean hasValuesDef ()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
public final boolean isInitialized ()
public WhileContextDef.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public final WhileContextDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public WhileContextDef.Builder mergeValuesDef (valor ValuesDef )
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
public WhileContextDef.Builder removeNestedContexts (índice interno )
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public WhileContextDef.Builder setBackProp (valor booleano)
Whether backprop is enabled for this while loop.
bool back_prop = 3;
public WhileContextDef.Builder setContextName (String value)
Name of the context.
string context_name = 1;
public WhileContextDef.Builder setContextNameBytes (com.google.protobuf.ByteString value)
Name of the context.
string context_name = 1;
public WhileContextDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor Object)
public WhileContextDef.Builder setLoopEnterNames (int index, String value)
List of names for enter tensors.
repeated string loop_enter_names = 10;
public WhileContextDef.Builder setLoopExitNames (int index, String value)
List of names for exit tensors.
repeated string loop_exit_names = 8;
public WhileContextDef.Builder setMaximumIterationsName (String value)
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
public WhileContextDef.Builder setMaximumIterationsNameBytes (com.google.protobuf.ByteString value)
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
public WhileContextDef.Builder setNestedContexts (int index, ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public WhileContextDef.Builder setNestedContexts (int index, ControlFlowContextDef value)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
public WhileContextDef.Builder setParallelIterations (valor int)
The number of iterations allowed to run in parallel.
int32 parallel_iterations = 2;
public WhileContextDef.Builder setPivotForBodyName (String value)
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
public WhileContextDef.Builder setPivotForBodyNameBytes (com.google.protobuf.ByteString value)
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
public WhileContextDef.Builder setPivotForPredName (String value)
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
public WhileContextDef.Builder setPivotForPredNameBytes (com.google.protobuf.ByteString value)
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
public WhileContextDef.Builder setPivotName (String value)
Name of the pivot tensor.
string pivot_name = 5;
public WhileContextDef.Builder setPivotNameBytes (com.google.protobuf.ByteString value)
Name of the pivot tensor.
string pivot_name = 5;
public WhileContextDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
public WhileContextDef.Builder setSwapMemory (valor booleano)
Whether GPU-CPU memory swap is enabled for this loop.
bool swap_memory = 4;
public final WhileContextDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public WhileContextDef.Builder setValuesDef ( ValuesDef.Builder builderForValue)
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
public WhileContextDef.Builder setValuesDef (valor ValuesDef )
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;