doc_content
stringlengths
1
386k
doc_id
stringlengths
5
188
tf.compat.v1.estimator.BaselineEstimator An estimator that can establish a simple baseline. Inherits From: Estimator tf.compat.v1.estimator.BaselineEstimator( head, model_dir=None, optimizer='Ftrl', config=None ) The estimator uses a user-specified head. This estimator ignores feature values and will learn to pre...
tensorflow.compat.v1.estimator.baselineestimator
tf.compat.v1.estimator.BaselineRegressor A regressor that can establish a simple baseline. Inherits From: Estimator tf.compat.v1.estimator.BaselineRegressor( model_dir=None, label_dimension=1, weight_column=None, optimizer='Ftrl', config=None, loss_reduction=tf.compat.v1.losses.Reduction.SUM ) This regres...
tensorflow.compat.v1.estimator.baselineregressor
tf.compat.v1.estimator.classifier_parse_example_spec Generates parsing spec for tf.parse_example to be used with classifiers. tf.compat.v1.estimator.classifier_parse_example_spec( feature_columns, label_key, label_dtype=tf.dtypes.int64, label_default=None, weight_column=None ) If users keep data in tf.Example...
tensorflow.compat.v1.estimator.classifier_parse_example_spec
tf.compat.v1.estimator.DNNClassifier A classifier for TensorFlow DNN models. Inherits From: Estimator tf.compat.v1.estimator.DNNClassifier( hidden_units, feature_columns, model_dir=None, n_classes=2, weight_column=None, label_vocabulary=None, optimizer='Adagrad', activation_fn=tf.nn.relu, dropout=None, inp...
tensorflow.compat.v1.estimator.dnnclassifier
tf.compat.v1.estimator.DNNEstimator An estimator for TensorFlow DNN models with user-specified head. Inherits From: Estimator tf.compat.v1.estimator.DNNEstimator( head, hidden_units, feature_columns, model_dir=None, optimizer='Adagrad', activation_fn=tf.nn.relu, dropout=None, input_layer_partitioner=None, ...
tensorflow.compat.v1.estimator.dnnestimator
tf.compat.v1.estimator.DNNLinearCombinedClassifier An estimator for TensorFlow Linear and DNN joined classification models. Inherits From: Estimator tf.compat.v1.estimator.DNNLinearCombinedClassifier( model_dir=None, linear_feature_columns=None, linear_optimizer='Ftrl', dnn_feature_columns=None, dnn_optimizer=...
tensorflow.compat.v1.estimator.dnnlinearcombinedclassifier
tf.compat.v1.estimator.DNNLinearCombinedEstimator An estimator for TensorFlow Linear and DNN joined models with custom head. Inherits From: Estimator tf.compat.v1.estimator.DNNLinearCombinedEstimator( head, model_dir=None, linear_feature_columns=None, linear_optimizer='Ftrl', dnn_feature_columns=None, dnn_...
tensorflow.compat.v1.estimator.dnnlinearcombinedestimator
tf.compat.v1.estimator.DNNLinearCombinedRegressor An estimator for TensorFlow Linear and DNN joined models for regression. Inherits From: Estimator tf.compat.v1.estimator.DNNLinearCombinedRegressor( model_dir=None, linear_feature_columns=None, linear_optimizer='Ftrl', dnn_feature_columns=None, dnn_optimizer='A...
tensorflow.compat.v1.estimator.dnnlinearcombinedregressor
tf.compat.v1.estimator.DNNRegressor A regressor for TensorFlow DNN models. Inherits From: Estimator tf.compat.v1.estimator.DNNRegressor( hidden_units, feature_columns, model_dir=None, label_dimension=1, weight_column=None, optimizer='Adagrad', activation_fn=tf.nn.relu, dropout=None, input_layer_partitioner...
tensorflow.compat.v1.estimator.dnnregressor
tf.compat.v1.estimator.Estimator Estimator class to train and evaluate TensorFlow models. tf.compat.v1.estimator.Estimator( model_fn, model_dir=None, config=None, params=None, warm_start_from=None ) The Estimator object wraps a model which is specified by a model_fn, which, given inputs and a number of other para...
tensorflow.compat.v1.estimator.estimator
Module: tf.compat.v1.estimator.experimental Public API for tf.estimator.experimental namespace. Classes class InMemoryEvaluatorHook: Hook to run evaluation in training without a checkpoint. class KMeans: An Estimator for K-Means clustering. class LinearSDCA: Stochastic Dual Coordinate Ascent helper for linear estimator...
tensorflow.compat.v1.estimator.experimental
tf.compat.v1.estimator.experimental.dnn_logit_fn_builder Function builder for a dnn logit_fn. tf.compat.v1.estimator.experimental.dnn_logit_fn_builder( units, hidden_units, feature_columns, activation_fn, dropout, input_layer_partitioner, batch_norm ) Args units An int indicating the dimension of the...
tensorflow.compat.v1.estimator.experimental.dnn_logit_fn_builder
tf.compat.v1.estimator.experimental.KMeans An Estimator for K-Means clustering. Inherits From: Estimator tf.compat.v1.estimator.experimental.KMeans( num_clusters, model_dir=None, initial_clusters=RANDOM_INIT, distance_metric=SQUARED_EUCLIDEAN_DISTANCE, seed=None, use_mini_batch=True, mini_batch_steps_per...
tensorflow.compat.v1.estimator.experimental.kmeans
tf.compat.v1.estimator.experimental.linear_logit_fn_builder Function builder for a linear logit_fn. tf.compat.v1.estimator.experimental.linear_logit_fn_builder( units, feature_columns, sparse_combiner='sum' ) Args units An int indicating the dimension of the logit layer. feature_columns An iterable...
tensorflow.compat.v1.estimator.experimental.linear_logit_fn_builder
Module: tf.compat.v1.estimator.export All public utility methods for exporting Estimator to SavedModel. This file includes functions and constants from core (model_utils) and export.py Classes class ClassificationOutput: Represents the output of a classification head. class ExportOutput: Represents an output of a model...
tensorflow.compat.v1.estimator.export
Module: tf.compat.v1.estimator.inputs Utility methods to create simple input_fns. Functions numpy_input_fn(...): Returns input function that would feed dict of numpy arrays into the model. pandas_input_fn(...): Returns input function that would feed Pandas DataFrame into the model.
tensorflow.compat.v1.estimator.inputs
tf.compat.v1.estimator.inputs.numpy_input_fn Returns input function that would feed dict of numpy arrays into the model. tf.compat.v1.estimator.inputs.numpy_input_fn( x, y=None, batch_size=128, num_epochs=1, shuffle=None, queue_capacity=1000, num_threads=1 ) This returns a function outputting features and tar...
tensorflow.compat.v1.estimator.inputs.numpy_input_fn
tf.compat.v1.estimator.inputs.pandas_input_fn Returns input function that would feed Pandas DataFrame into the model. tf.compat.v1.estimator.inputs.pandas_input_fn( x, y=None, batch_size=128, num_epochs=1, shuffle=None, queue_capacity=1000, num_threads=1, target_column='target' ) Note: y's index must match x...
tensorflow.compat.v1.estimator.inputs.pandas_input_fn
tf.compat.v1.estimator.LinearClassifier Linear classifier model. Inherits From: Estimator tf.compat.v1.estimator.LinearClassifier( feature_columns, model_dir=None, n_classes=2, weight_column=None, label_vocabulary=None, optimizer='Ftrl', config=None, partitioner=None, warm_start_from=None, loss_reducti...
tensorflow.compat.v1.estimator.linearclassifier
tf.compat.v1.estimator.LinearEstimator An estimator for TensorFlow linear models with user-specified head. Inherits From: Estimator tf.compat.v1.estimator.LinearEstimator( head, feature_columns, model_dir=None, optimizer='Ftrl', config=None, partitioner=None, sparse_combiner='sum', warm_start_from=None ) Exam...
tensorflow.compat.v1.estimator.linearestimator
tf.compat.v1.estimator.LinearRegressor An estimator for TensorFlow Linear regression problems. Inherits From: Estimator tf.compat.v1.estimator.LinearRegressor( feature_columns, model_dir=None, label_dimension=1, weight_column=None, optimizer='Ftrl', config=None, partitioner=None, warm_start_from=None, loss...
tensorflow.compat.v1.estimator.linearregressor
tf.compat.v1.estimator.regressor_parse_example_spec Generates parsing spec for tf.parse_example to be used with regressors. tf.compat.v1.estimator.regressor_parse_example_spec( feature_columns, label_key, label_dtype=tf.dtypes.float32, label_default=None, label_dimension=1, weight_column=None ) If users keep ...
tensorflow.compat.v1.estimator.regressor_parse_example_spec
Module: tf.compat.v1.estimator.tpu Public API for tf.estimator.tpu namespace. Modules experimental module: Public API for tf.estimator.tpu.experimental namespace. Classes class InputPipelineConfig: Please see the definition of these values in TPUConfig. class RunConfig: RunConfig with TPU support. class TPUConfig: TPU ...
tensorflow.compat.v1.estimator.tpu
Module: tf.compat.v1.estimator.tpu.experimental Public API for tf.estimator.tpu.experimental namespace. Classes class EmbeddingConfigSpec: Class to keep track of the specification for TPU embeddings.
tensorflow.compat.v1.estimator.tpu.experimental
tf.compat.v1.estimator.tpu.experimental.EmbeddingConfigSpec Class to keep track of the specification for TPU embeddings. tf.compat.v1.estimator.tpu.experimental.EmbeddingConfigSpec( feature_columns=None, optimization_parameters=None, clipping_limit=None, pipeline_execution_with_tensor_core=False, experimen...
tensorflow.compat.v1.estimator.tpu.experimental.embeddingconfigspec
tf.compat.v1.estimator.tpu.InputPipelineConfig Please see the definition of these values in TPUConfig. Class Variables BROADCAST 4 PER_HOST_V1 2 PER_HOST_V2 3 PER_SHARD_V1 1 SLICED 5
tensorflow.compat.v1.estimator.tpu.inputpipelineconfig
tf.compat.v1.estimator.tpu.RunConfig RunConfig with TPU support. Inherits From: RunConfig tf.compat.v1.estimator.tpu.RunConfig( tpu_config=None, evaluation_master=None, master=None, cluster=None, **kwargs ) Args tpu_config the TPUConfig that specifies TPU-specific configuration. evaluation_master a...
tensorflow.compat.v1.estimator.tpu.runconfig
tf.compat.v1.estimator.tpu.TPUConfig TPU related configuration required by TPUEstimator. tf.compat.v1.estimator.tpu.TPUConfig( iterations_per_loop=2, num_shards=None, num_cores_per_replica=None, per_host_input_for_training=True, tpu_job_name=None, initial_infeed_sleep_secs=None, input_partition_dims=None, ...
tensorflow.compat.v1.estimator.tpu.tpuconfig
tf.compat.v1.estimator.tpu.TPUEstimator Estimator with TPU support. Inherits From: Estimator tf.compat.v1.estimator.tpu.TPUEstimator( model_fn=None, model_dir=None, config=None, params=None, use_tpu=True, train_batch_size=None, eval_batch_size=None, predict_batch_size=None, batch_axis=None, eval_on_tpu=Tru...
tensorflow.compat.v1.estimator.tpu.tpuestimator
tf.compat.v1.estimator.tpu.TPUEstimatorSpec Ops and objects returned from a model_fn and passed to TPUEstimator. tf.compat.v1.estimator.tpu.TPUEstimatorSpec( mode, predictions=None, loss=None, train_op=None, eval_metrics=None, export_outputs=None, scaffold_fn=None, host_call=None, training_hooks=None, eval...
tensorflow.compat.v1.estimator.tpu.tpuestimatorspec
tf.compat.v1.Event A ProtocolMessage View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.summary.Event Attributes file_version string file_version graph_def bytes graph_def log_message LogMessage log_message meta_graph_def bytes meta_graph_def ...
tensorflow.compat.v1.event
tf.compat.v1.executing_eagerly Checks whether the current thread has eager execution enabled. tf.compat.v1.executing_eagerly() Eager execution is typically enabled via tf.compat.v1.enable_eager_execution, but may also be enabled within the context of a Python function via tf.contrib.eager.py_func. When eager executio...
tensorflow.compat.v1.executing_eagerly
tf.compat.v1.executing_eagerly_outside_functions Returns True if executing eagerly, even if inside a graph function. tf.compat.v1.executing_eagerly_outside_functions() This function will check the outermost context for the program and see if it is in eager mode. It is useful comparing to tf.executing_eagerly(), which...
tensorflow.compat.v1.executing_eagerly_outside_functions
tf.compat.v1.expand_dims Returns a tensor with a length 1 axis inserted at index axis. (deprecated arguments) tf.compat.v1.expand_dims( input, axis=None, name=None, dim=None ) Warning: SOME ARGUMENTS ARE DEPRECATED: (dim). They will be removed in a future version. Instructions for updating: Use the axis argument ...
tensorflow.compat.v1.expand_dims
Module: tf.compat.v1.experimental Public API for tf.experimental namespace. Classes class Optional: Represents a value that may or may not be present. Functions async_clear_error(...): Clear pending operations and error statuses in async execution. async_scope(...): Context manager for grouping async operations. functi...
tensorflow.compat.v1.experimental
tf.compat.v1.experimental.output_all_intermediates Whether to output all intermediates from functional control flow ops. tf.compat.v1.experimental.output_all_intermediates( state ) The "default" behavior to is to output all intermediates when using v2 control flow inside Keras models in graph mode (possibly insid...
tensorflow.compat.v1.experimental.output_all_intermediates
tf.compat.v1.extract_image_patches Extract patches from images and put them in the "depth" output dimension. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.image.extract_image_patches tf.compat.v1.extract_image_patches( images, ksizes=None, strides=None, rates=None...
tensorflow.compat.v1.extract_image_patches
Module: tf.compat.v1.feature_column Public API for tf.feature_column namespace. Functions bucketized_column(...): Represents discretized dense input bucketed by boundaries. categorical_column_with_hash_bucket(...): Represents sparse feature where ids are set by hashing. categorical_column_with_identity(...): A Categori...
tensorflow.compat.v1.feature_column
tf.compat.v1.feature_column.categorical_column_with_vocabulary_file A CategoricalColumn with a vocabulary file. tf.compat.v1.feature_column.categorical_column_with_vocabulary_file( key, vocabulary_file, vocabulary_size=None, num_oov_buckets=0, default_value=None, dtype=tf.dtypes.string ) Use this when your in...
tensorflow.compat.v1.feature_column.categorical_column_with_vocabulary_file
tf.compat.v1.feature_column.input_layer Returns a dense Tensor as input layer based on given feature_columns. tf.compat.v1.feature_column.input_layer( features, feature_columns, weight_collections=None, trainable=True, cols_to_vars=None, cols_to_output_tensors=None ) Generally a single example in training dat...
tensorflow.compat.v1.feature_column.input_layer
tf.compat.v1.feature_column.linear_model Returns a linear prediction Tensor based on given feature_columns. tf.compat.v1.feature_column.linear_model( features, feature_columns, units=1, sparse_combiner='sum', weight_collections=None, trainable=True, cols_to_vars=None ) This function generates a weighted sum b...
tensorflow.compat.v1.feature_column.linear_model
tf.compat.v1.feature_column.make_parse_example_spec Creates parsing spec dictionary from input feature_columns. tf.compat.v1.feature_column.make_parse_example_spec( feature_columns ) The returned dictionary can be used as arg 'features' in tf.io.parse_example. Typical usage example: # Define features and transfor...
tensorflow.compat.v1.feature_column.make_parse_example_spec
tf.compat.v1.feature_column.shared_embedding_columns List of dense columns that convert from sparse, categorical input. tf.compat.v1.feature_column.shared_embedding_columns( categorical_columns, dimension, combiner='mean', initializer=None, shared_embedding_collection_name=None, ckpt_to_load_from=None, ten...
tensorflow.compat.v1.feature_column.shared_embedding_columns
tf.compat.v1.FixedLengthRecordReader A Reader that outputs fixed-length records from a file. Inherits From: ReaderBase tf.compat.v1.FixedLengthRecordReader( record_bytes, header_bytes=None, footer_bytes=None, hop_bytes=None, name=None, encoding=None ) See ReaderBase for supported methods. Args record_b...
tensorflow.compat.v1.fixedlengthrecordreader
tf.compat.v1.fixed_size_partitioner Partitioner to specify a fixed number of shards along given axis. tf.compat.v1.fixed_size_partitioner( num_shards, axis=0 ) Args num_shards int, number of shards to partition variable. axis int, axis to partition on. Returns A partition function usable ...
tensorflow.compat.v1.fixed_size_partitioner
Module: tf.compat.v1.flags Import router for absl.flags. See https://github.com/abseil/abseil-py View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags Modules tf_decorator module: Base TFDecorator class and utility functions for working with decorators. Classes class...
tensorflow.compat.v1.flags
tf.compat.v1.flags.adopt_module_key_flags Declares that all flags key to a module are key to the current module. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.adopt_module_key_flags tf.compat.v1.flags.adopt_module_key_flags( module, flag_values=_flagvalu...
tensorflow.compat.v1.flags.adopt_module_key_flags
tf.compat.v1.flags.ArgumentParser Base class used to parse and convert arguments. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.ArgumentParser The parse() method checks to make sure that the string argument is a legal value and convert it to a native type. If...
tensorflow.compat.v1.flags.argumentparser
tf.compat.v1.flags.ArgumentSerializer Base class for generating string representations of a flag value. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.ArgumentSerializer Methods serialize serialize( value ) Returns a serialized string of the value.
tensorflow.compat.v1.flags.argumentserializer
tf.compat.v1.flags.BaseListParser Base class for a parser of lists of strings. Inherits From: ArgumentParser View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.BaseListParser tf.compat.v1.flags.BaseListParser( token=None, name=None ) To extend, inherit from ...
tensorflow.compat.v1.flags.baselistparser
tf.compat.v1.flags.BooleanFlag Basic boolean flag. Inherits From: Flag View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.BooleanFlag tf.compat.v1.flags.BooleanFlag( name, default, help, short_name=None, **args ) Boolean flags do not take any arguments, and ...
tensorflow.compat.v1.flags.booleanflag
tf.compat.v1.flags.BooleanParser Parser of boolean values. Inherits From: ArgumentParser View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.BooleanParser Methods flag_type flag_type() See base class. parse parse( argument ) See base class. Class Varia...
tensorflow.compat.v1.flags.booleanparser
tf.compat.v1.flags.CantOpenFlagFileError Raised when flagfile fails to open. Inherits From: Error View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.CantOpenFlagFileError E.g. the file doesn't exist, or has wrong permissions.
tensorflow.compat.v1.flags.cantopenflagfileerror
tf.compat.v1.flags.CsvListSerializer Base class for generating string representations of a flag value. Inherits From: ArgumentSerializer View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.CsvListSerializer tf.compat.v1.flags.CsvListSerializer( list_sep ) Met...
tensorflow.compat.v1.flags.csvlistserializer
tf.compat.v1.flags.declare_key_flag Declares one flag as key to the current module. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.declare_key_flag tf.compat.v1.flags.declare_key_flag( flag_name, flag_values=_flagvalues.FLAGS ) Key flags are flags that a...
tensorflow.compat.v1.flags.declare_key_flag
tf.compat.v1.flags.DEFINE Registers a generic Flag object. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE tf.compat.v1.flags.DEFINE( parser, name, default, help, flag_values=_flagvalues.FLAGS, serializer=None, module_name=None, **args ) Note:...
tensorflow.compat.v1.flags.define
tf.compat.v1.flags.DEFINE_alias Defines an alias flag for an existing one. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_alias tf.compat.v1.flags.DEFINE_alias( name, original_name, flag_values=_flagvalues.FLAGS, module_name=None ) Args nam...
tensorflow.compat.v1.flags.define_alias
tf.compat.v1.flags.DEFINE_bool Registers a boolean flag. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_bool, tf.compat.v1.app.flags.DEFINE_boolean, tf.compat.v1.flags.DEFINE_boolean tf.compat.v1.flags.DEFINE_bool( name, default, help, flag_values=...
tensorflow.compat.v1.flags.define_bool
tf.compat.v1.flags.DEFINE_enum Registers a flag whose value can be any string from enum_values. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_enum tf.compat.v1.flags.DEFINE_enum( name, default, enum_values, help, flag_values=_flagvalues.FLAGS, ...
tensorflow.compat.v1.flags.define_enum
tf.compat.v1.flags.DEFINE_enum_class Registers a flag whose value can be the name of enum members. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_enum_class tf.compat.v1.flags.DEFINE_enum_class( name, default, enum_class, help, flag_values=_flagval...
tensorflow.compat.v1.flags.define_enum_class
tf.compat.v1.flags.DEFINE_flag Registers a 'Flag' object with a 'FlagValues' object. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_flag tf.compat.v1.flags.DEFINE_flag( flag, flag_values=_flagvalues.FLAGS, module_name=None ) By default, the global...
tensorflow.compat.v1.flags.define_flag
tf.compat.v1.flags.DEFINE_float Registers a flag whose value must be a float. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_float tf.compat.v1.flags.DEFINE_float( name, default, help, lower_bound=None, upper_bound=None, flag_values=_flagvalues...
tensorflow.compat.v1.flags.define_float
tf.compat.v1.flags.DEFINE_integer Registers a flag whose value must be an integer. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_integer tf.compat.v1.flags.DEFINE_integer( name, default, help, lower_bound=None, upper_bound=None, flag_values=_f...
tensorflow.compat.v1.flags.define_integer
tf.compat.v1.flags.DEFINE_list Registers a flag whose value is a comma-separated list of strings. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_list tf.compat.v1.flags.DEFINE_list( name, default, help, flag_values=_flagvalues.FLAGS, **args ) The ...
tensorflow.compat.v1.flags.define_list
tf.compat.v1.flags.DEFINE_multi Registers a generic MultiFlag that parses its args with a given parser. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_multi tf.compat.v1.flags.DEFINE_multi( parser, serializer, name, default, help, flag_values=_flag...
tensorflow.compat.v1.flags.define_multi
tf.compat.v1.flags.DEFINE_multi_enum Registers a flag whose value can be a list strings from enum_values. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_multi_enum tf.compat.v1.flags.DEFINE_multi_enum( name, default, enum_values, help, flag_values=...
tensorflow.compat.v1.flags.define_multi_enum
tf.compat.v1.flags.DEFINE_multi_enum_class Registers a flag whose value can be a list of enum members. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_multi_enum_class tf.compat.v1.flags.DEFINE_multi_enum_class( name, default, enum_class, help, flag...
tensorflow.compat.v1.flags.define_multi_enum_class
tf.compat.v1.flags.DEFINE_multi_float Registers a flag whose value can be a list of arbitrary floats. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_multi_float tf.compat.v1.flags.DEFINE_multi_float( name, default, help, lower_bound=None, upper_bou...
tensorflow.compat.v1.flags.define_multi_float
tf.compat.v1.flags.DEFINE_multi_integer Registers a flag whose value can be a list of arbitrary integers. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_multi_integer tf.compat.v1.flags.DEFINE_multi_integer( name, default, help, lower_bound=None, u...
tensorflow.compat.v1.flags.define_multi_integer
tf.compat.v1.flags.DEFINE_multi_string Registers a flag whose value can be a list of any strings. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_multi_string tf.compat.v1.flags.DEFINE_multi_string( name, default, help, flag_values=_flagvalues.FLAGS...
tensorflow.compat.v1.flags.define_multi_string
tf.compat.v1.flags.DEFINE_spaceseplist Registers a flag whose value is a whitespace-separated list of strings. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_spaceseplist tf.compat.v1.flags.DEFINE_spaceseplist( name, default, help, comma_compat=Fal...
tensorflow.compat.v1.flags.define_spaceseplist
tf.compat.v1.flags.DEFINE_string Registers a flag whose value can be any string. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DEFINE_string tf.compat.v1.flags.DEFINE_string( name, default, help, flag_values=_flagvalues.FLAGS, **args )
tensorflow.compat.v1.flags.define_string
tf.compat.v1.flags.disclaim_key_flags Declares that the current module will not define any more key flags. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.disclaim_key_flags tf.compat.v1.flags.disclaim_key_flags() Normally, the module that calls the DEFINE_xx...
tensorflow.compat.v1.flags.disclaim_key_flags
tf.compat.v1.flags.doc_to_help Takes a doc string and reformats it as help. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.doc_to_help tf.compat.v1.flags.doc_to_help( doc )
tensorflow.compat.v1.flags.doc_to_help
tf.compat.v1.flags.DuplicateFlagError Raised if there is a flag naming conflict. Inherits From: Error View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.DuplicateFlagError Methods from_flag @classmethod from_flag( flagname, flag_values, other_flag_values=None...
tensorflow.compat.v1.flags.duplicateflagerror
tf.compat.v1.flags.EnumClassFlag Basic enum flag; its value is an enum class's member. Inherits From: Flag View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.EnumClassFlag tf.compat.v1.flags.EnumClassFlag( name, default, help, enum_class, short_name=None, cas...
tensorflow.compat.v1.flags.enumclassflag
tf.compat.v1.flags.EnumClassParser Parser of an Enum class member. Inherits From: ArgumentParser View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.EnumClassParser tf.compat.v1.flags.EnumClassParser( enum_class, case_sensitive=True ) Args enum_class ...
tensorflow.compat.v1.flags.enumclassparser
tf.compat.v1.flags.EnumFlag Basic enum flag; its value can be any string from list of enum_values. Inherits From: Flag View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.EnumFlag tf.compat.v1.flags.EnumFlag( name, default, help, enum_values, short_name=None, ...
tensorflow.compat.v1.flags.enumflag
tf.compat.v1.flags.EnumParser Parser of a string enum value (a string value from a given set). Inherits From: ArgumentParser View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.EnumParser tf.compat.v1.flags.EnumParser( enum_values, case_sensitive=True ) ...
tensorflow.compat.v1.flags.enumparser
tf.compat.v1.flags.Error The base class for all flags errors. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.Error
tensorflow.compat.v1.flags.error
tf.compat.v1.flags.Flag Information about a command-line flag. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.Flag tf.compat.v1.flags.Flag( parser, serializer, name, default, help_string, short_name=None, boolean=False, allow_override=False, allow_ove...
tensorflow.compat.v1.flags.flag
tf.compat.v1.flags.FlagHolder Holds a defined flag. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.FlagHolder tf.compat.v1.flags.FlagHolder( flag_values, flag, ensure_non_none_value=False ) This facilitates a cleaner api around global state. Instead of f...
tensorflow.compat.v1.flags.flagholder
tf.compat.v1.flags.FlagNameConflictsWithMethodError Raised when a flag name conflicts with FlagValues methods. Inherits From: Error View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.FlagNameConflictsWithMethodError
tensorflow.compat.v1.flags.flagnameconflictswithmethoderror
tf.compat.v1.flags.FLAGS Registry of 'Flag' objects. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.FLAGS tf.compat.v1.flags.FLAGS( *args, **kwargs ) A 'FlagValues' can then scan command line arguments, passing flag arguments through to the 'Flag' object...
tensorflow.compat.v1.flags.flags
tf.compat.v1.flags.FlagValues Registry of 'Flag' objects. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.FlagValues tf.compat.v1.flags.FlagValues() A 'FlagValues' can then scan command line arguments, passing flag arguments through to the 'Flag' objects that...
tensorflow.compat.v1.flags.flagvalues
tf.compat.v1.flags.flag_dict_to_args Convert a dict of values into process call parameters. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.flag_dict_to_args tf.compat.v1.flags.flag_dict_to_args( flag_map, multi_flags=None ) This method is used to convert...
tensorflow.compat.v1.flags.flag_dict_to_args
tf.compat.v1.flags.FloatParser Parser of floating point values. Inherits From: ArgumentParser View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.FloatParser tf.compat.v1.flags.FloatParser( lower_bound=None, upper_bound=None ) Parsed value may be bounded to a...
tensorflow.compat.v1.flags.floatparser
tf.compat.v1.flags.get_help_width Returns the integer width of help lines that is used in TextWrap. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.get_help_width tf.compat.v1.flags.get_help_width()
tensorflow.compat.v1.flags.get_help_width
tf.compat.v1.flags.IllegalFlagValueError Raised when the flag command line argument is illegal. Inherits From: Error View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.IllegalFlagValueError
tensorflow.compat.v1.flags.illegalflagvalueerror
tf.compat.v1.flags.IntegerParser Parser of an integer value. Inherits From: ArgumentParser View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.IntegerParser tf.compat.v1.flags.IntegerParser( lower_bound=None, upper_bound=None ) Parsed value may be bounded to ...
tensorflow.compat.v1.flags.integerparser
tf.compat.v1.flags.ListParser Parser for a comma-separated list of strings. Inherits From: BaseListParser, ArgumentParser View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.ListParser tf.compat.v1.flags.ListParser() Methods flag_type flag_type() See base class...
tensorflow.compat.v1.flags.listparser
tf.compat.v1.flags.ListSerializer Base class for generating string representations of a flag value. Inherits From: ArgumentSerializer View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.ListSerializer tf.compat.v1.flags.ListSerializer( list_sep ) Methods seri...
tensorflow.compat.v1.flags.listserializer
tf.compat.v1.flags.mark_bool_flags_as_mutual_exclusive Ensures that only one flag among flag_names is True. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.mark_bool_flags_as_mutual_exclusive tf.compat.v1.flags.mark_bool_flags_as_mutual_exclusive( flag_nam...
tensorflow.compat.v1.flags.mark_bool_flags_as_mutual_exclusive
tf.compat.v1.flags.mark_flags_as_mutual_exclusive Ensures that only one flag among flag_names is not None. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.mark_flags_as_mutual_exclusive tf.compat.v1.flags.mark_flags_as_mutual_exclusive( flag_names, require...
tensorflow.compat.v1.flags.mark_flags_as_mutual_exclusive
tf.compat.v1.flags.mark_flags_as_required Ensures that flags are not None during program execution. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.mark_flags_as_required tf.compat.v1.flags.mark_flags_as_required( flag_names, flag_values=_flagvalues.FLAGS ...
tensorflow.compat.v1.flags.mark_flags_as_required
tf.compat.v1.flags.mark_flag_as_required Ensures that flag is not None during program execution. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.mark_flag_as_required tf.compat.v1.flags.mark_flag_as_required( flag_name, flag_values=_flagvalues.FLAGS ) Reg...
tensorflow.compat.v1.flags.mark_flag_as_required
tf.compat.v1.flags.MultiEnumClassFlag A multi_enum_class flag. Inherits From: MultiFlag, Flag View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.MultiEnumClassFlag tf.compat.v1.flags.MultiEnumClassFlag( name, default, help_string, enum_class, case_sensitive=F...
tensorflow.compat.v1.flags.multienumclassflag
tf.compat.v1.flags.MultiFlag A flag that can appear multiple time on the command-line. Inherits From: Flag View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.MultiFlag tf.compat.v1.flags.MultiFlag( *args, **kwargs ) The value of such a flag is a list that co...
tensorflow.compat.v1.flags.multiflag
tf.compat.v1.flags.multi_flags_validator A function decorator for defining a multi-flag validator. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.multi_flags_validator tf.compat.v1.flags.multi_flags_validator( flag_names, message='Flag validation failed',...
tensorflow.compat.v1.flags.multi_flags_validator
tf.compat.v1.flags.register_multi_flags_validator Adds a constraint to multiple flags. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.app.flags.register_multi_flags_validator tf.compat.v1.flags.register_multi_flags_validator( flag_names, multi_flags_checker, messag...
tensorflow.compat.v1.flags.register_multi_flags_validator