doc_content
stringlengths
1
386k
doc_id
stringlengths
5
188
tf.compat.v1.NodeDef.AttrEntry A ProtocolMessage Attributes key string key value AttrValue value
tensorflow.compat.v1.nodedef.attrentry
tf.compat.v1.NodeDef.ExperimentalDebugInfo A ProtocolMessage Attributes original_func_names repeated string original_func_names original_node_names repeated string original_node_names
tensorflow.compat.v1.nodedef.experimentaldebuginfo
tf.compat.v1.norm Computes the norm of vectors, matrices, and tensors. (deprecated arguments) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.linalg.norm tf.compat.v1.norm( tensor, ord='euclidean', axis=None, keepdims=None, name=None, keep_dims=None ) Warning: ...
tensorflow.compat.v1.norm
tf.compat.v1.no_regularizer Use this function to prevent regularization of variables. tf.compat.v1.no_regularizer( _ )
tensorflow.compat.v1.no_regularizer
tf.compat.v1.ones_like Creates a tensor with all elements set to 1. tf.compat.v1.ones_like( tensor, dtype=None, name=None, optimize=True ) See also tf.ones. Given a single tensor (tensor), this operation returns a tensor of the same type and shape as tensor with all elements set to 1. Optionally, you can specify ...
tensorflow.compat.v1.ones_like
tf.compat.v1.OptimizerOptions A ProtocolMessage Attributes do_common_subexpression_elimination bool do_common_subexpression_elimination do_constant_folding bool do_constant_folding do_function_inlining bool do_function_inlining global_jit_level GlobalJitLevel global_jit_level max_folded_c...
tensorflow.compat.v1.optimizeroptions
tf.compat.v1.op_scope DEPRECATED. Same as name_scope above, just different argument order. @tf_contextlib.contextmanager tf.compat.v1.op_scope( values, name, default_name=None )
tensorflow.compat.v1.op_scope
tf.compat.v1.pad Pads a tensor. tf.compat.v1.pad( tensor, paddings, mode='CONSTANT', name=None, constant_values=0 ) This operation pads a tensor according to the paddings you specify. paddings is an integer tensor with shape [n, 2], where n is the rank of tensor. For each dimension D of input, paddings[D, 0] indi...
tensorflow.compat.v1.pad
tf.compat.v1.parse_example Parses Example protos into a dict of tensors. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.io.parse_example tf.compat.v1.parse_example( serialized, features, name=None, example_names=None ) Parses a number of serialized Example protos ...
tensorflow.compat.v1.parse_example
tf.compat.v1.parse_single_example Parses a single Example proto. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.io.parse_single_example tf.compat.v1.parse_single_example( serialized, features, name=None, example_names=None ) Similar to parse_example, except: For d...
tensorflow.compat.v1.parse_single_example
tf.compat.v1.placeholder Inserts a placeholder for a tensor that will be always fed. tf.compat.v1.placeholder( dtype, shape=None, name=None ) Key Point: This tensor will produce an error if evaluated. Its value must be fed using the feed_dict optional argument to Session.run(), Tensor.eval(), or Operation.run(). ...
tensorflow.compat.v1.placeholder
tf.compat.v1.placeholder_with_default A placeholder op that passes through input when its output is not fed. tf.compat.v1.placeholder_with_default( input, shape, name=None ) Args input A Tensor. The default value to produce when output is not fed. shape A tf.TensorShape or list of ints. The (possib...
tensorflow.compat.v1.placeholder_with_default
tf.compat.v1.Print Prints a list of tensors. (deprecated) tf.compat.v1.Print( input_, data, message=None, first_n=None, summarize=None, name=None ) Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2018-08-20. Instructions for updating: Use tf.print instead of tf.Print. Note that tf.print returns a n...
tensorflow.compat.v1.print
Module: tf.compat.v1.profiler Public API for tf.profiler namespace. Classes class AdviceProto: A ProtocolMessage class GraphNodeProto: A ProtocolMessage class MultiGraphNodeProto: A ProtocolMessage class OpLogProto: A ProtocolMessage class ProfileOptionBuilder: Option Builder for Profiling API. class Profiler: TensorFl...
tensorflow.compat.v1.profiler
tf.compat.v1.profiler.AdviceProto A ProtocolMessage Attributes checkers repeated CheckersEntry checkers Child Classes class Checker class CheckersEntry
tensorflow.compat.v1.profiler.adviceproto
tf.compat.v1.profiler.AdviceProto.Checker A ProtocolMessage Attributes reports repeated string reports
tensorflow.compat.v1.profiler.adviceproto.checker
tf.compat.v1.profiler.AdviceProto.CheckersEntry A ProtocolMessage Attributes key string key value Checker value
tensorflow.compat.v1.profiler.adviceproto.checkersentry
tf.compat.v1.profiler.advise Auto profile and advise. tf.compat.v1.profiler.advise( graph=None, run_meta=None, options=_DEFAULT_ADVISE_OPTIONS ) Builds profiles and automatically check anomalies of various aspects. For more details: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/profiler/REA...
tensorflow.compat.v1.profiler.advise
tf.compat.v1.profiler.GraphNodeProto A ProtocolMessage Attributes accelerator_exec_micros int64 accelerator_exec_micros children repeated GraphNodeProto children cpu_exec_micros int64 cpu_exec_micros devices repeated string devices exec_micros int64 exec_micros float_ops int64 flo...
tensorflow.compat.v1.profiler.graphnodeproto
tf.compat.v1.profiler.GraphNodeProto.InputShapesEntry A ProtocolMessage Attributes key int32 key value TensorShapeProto value
tensorflow.compat.v1.profiler.graphnodeproto.inputshapesentry
tf.compat.v1.profiler.MultiGraphNodeProto A ProtocolMessage Attributes accelerator_exec_micros int64 accelerator_exec_micros children repeated MultiGraphNodeProto children cpu_exec_micros int64 cpu_exec_micros exec_micros int64 exec_micros float_ops int64 float_ops graph_nodes rep...
tensorflow.compat.v1.profiler.multigraphnodeproto
tf.compat.v1.profiler.OpLogProto A ProtocolMessage Attributes id_to_string repeated IdToStringEntry id_to_string log_entries repeated OpLogEntry log_entries Child Classes class IdToStringEntry
tensorflow.compat.v1.profiler.oplogproto
tf.compat.v1.profiler.OpLogProto.IdToStringEntry A ProtocolMessage Attributes key int64 key value string value
tensorflow.compat.v1.profiler.oplogproto.idtostringentry
tf.compat.v1.profiler.profile Profile model. tf.compat.v1.profiler.profile( graph=None, run_meta=None, op_log=None, cmd='scope', options=_DEFAULT_PROFILE_OPTIONS ) Tutorials and examples can be found in: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/profiler/g3doc/python_api.md Arg...
tensorflow.compat.v1.profiler.profile
tf.compat.v1.profiler.ProfileOptionBuilder Option Builder for Profiling API. tf.compat.v1.profiler.ProfileOptionBuilder( options=None ) For tutorial on the options, see https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/profiler/g3doc/options.md # Users can use pre-built options: opts = ( tf...
tensorflow.compat.v1.profiler.profileoptionbuilder
tf.compat.v1.profiler.Profiler TensorFlow multi-step profiler. tf.compat.v1.profiler.Profiler( graph=None, op_log=None ) https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/profiler/README.md Typical use case: # Currently we are only allowed to create 1 profiler per process. profiler = Profil...
tensorflow.compat.v1.profiler.profiler
tf.compat.v1.profiler.write_op_log Log provided 'op_log', and add additional model information below. tf.compat.v1.profiler.write_op_log( graph, log_dir, op_log=None, run_meta=None, add_trace=True ) The API also assigns ops in tf.compat.v1.trainable_variables() an op type called '_trainable_variables'. The API al...
tensorflow.compat.v1.profiler.write_op_log
Module: tf.compat.v1.python_io Python functions for directly manipulating TFRecord-formatted files. Classes class TFRecordCompressionType: The type of compression for the record. class TFRecordOptions: Options used for manipulating TFRecord files. class TFRecordWriter: A class to write records to a TFRecords file. Func...
tensorflow.compat.v1.python_io
tf.compat.v1.py_func Wraps a python function and uses it as a TensorFlow op. tf.compat.v1.py_func( func, inp, Tout, stateful=True, name=None ) Given a python function func, which takes numpy arrays as its arguments and returns numpy arrays as its outputs, wrap this function as an operation in a TensorFlow graph. ...
tensorflow.compat.v1.py_func
Module: tf.compat.v1.quantization Public API for tf.quantization namespace. Functions dequantize(...): Dequantize the 'input' tensor into a float or bfloat16 Tensor. fake_quant_with_min_max_args(...): Fake-quantize the 'inputs' tensor, type float to 'outputs' tensor of same type. fake_quant_with_min_max_args_gradient(....
tensorflow.compat.v1.quantization
tf.compat.v1.quantize_v2 Please use tf.quantization.quantize instead. tf.compat.v1.quantize_v2( input, min_range, max_range, T, mode='MIN_COMBINED', name=None, round_mode='HALF_AWAY_FROM_ZERO', narrow_range=False, axis=None, ensure_minimum_range=0.01 )
tensorflow.compat.v1.quantize_v2
Module: tf.compat.v1.queue Public API for tf.queue namespace. Classes class FIFOQueue: A queue implementation that dequeues elements in first-in first-out order. class PaddingFIFOQueue: A FIFOQueue that supports batching variable-sized tensors by padding. class PriorityQueue: A queue implementation that dequeues elemen...
tensorflow.compat.v1.queue
Module: tf.compat.v1.ragged Ragged Tensors. This package defines ops for manipulating ragged tensors (tf.RaggedTensor), which are tensors with non-uniform shapes. In particular, each RaggedTensor has one or more ragged dimensions, which are dimensions whose slices may have different lengths. For example, the inner (col...
tensorflow.compat.v1.ragged
tf.compat.v1.ragged.constant_value Constructs a RaggedTensorValue from a nested Python list. tf.compat.v1.ragged.constant_value( pylist, dtype=None, ragged_rank=None, inner_shape=None, row_splits_dtype='int64' ) Warning: This function returns a RaggedTensorValue, not a RaggedTensor. If you wish to construct a...
tensorflow.compat.v1.ragged.constant_value
tf.compat.v1.ragged.placeholder Creates a placeholder for a tf.RaggedTensor that will always be fed. tf.compat.v1.ragged.placeholder( dtype, ragged_rank, value_shape=None, name=None ) Key Point: This ragged tensor will produce an error if evaluated. Its value must be fed using the feed_dict optional argument to S...
tensorflow.compat.v1.ragged.placeholder
tf.compat.v1.ragged.RaggedTensorValue Represents the value of a RaggedTensor. tf.compat.v1.ragged.RaggedTensorValue( values, row_splits ) Warning: RaggedTensorValue should only be used in graph mode; in eager mode, the tf.RaggedTensor class contains its value directly. See tf.RaggedTensor for a description of rag...
tensorflow.compat.v1.ragged.raggedtensorvalue
Module: tf.compat.v1.random Public API for tf.random namespace. Modules experimental module: Public API for tf.random.experimental namespace. Classes class Algorithm: An enumeration. class Generator: Random-number generator. Functions all_candidate_sampler(...): Generate the set of all classes. categorical(...): Draws ...
tensorflow.compat.v1.random
Module: tf.compat.v1.random.experimental Public API for tf.random.experimental namespace. Classes class Algorithm: An enumeration. class Generator: Random-number generator. Functions create_rng_state(...): Creates a RNG state from an integer or a vector. get_global_generator(...): Retrieves the global generator. set_gl...
tensorflow.compat.v1.random.experimental
tf.compat.v1.random.stateless_multinomial Draws deterministic pseudorandom samples from a multinomial distribution. (deprecated) tf.compat.v1.random.stateless_multinomial( logits, num_samples, seed, output_dtype=tf.dtypes.int64, name=None ) Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future vers...
tensorflow.compat.v1.random.stateless_multinomial
tf.compat.v1.random_normal_initializer Initializer that generates tensors with a normal distribution. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.initializers.random_normal tf.compat.v1.random_normal_initializer( mean=0.0, stddev=1.0, seed=None, dtype=tf.dtypes....
tensorflow.compat.v1.random_normal_initializer
tf.compat.v1.random_poisson Draws shape samples from each of the given Poisson distribution(s). View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.random.poisson tf.compat.v1.random_poisson( lam, shape, dtype=tf.dtypes.float32, seed=None, name=None ) lam is the rate p...
tensorflow.compat.v1.random_poisson
tf.compat.v1.random_uniform_initializer Initializer that generates tensors with a uniform distribution. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.initializers.random_uniform tf.compat.v1.random_uniform_initializer( minval=0, maxval=None, seed=None, dtype=tf.dt...
tensorflow.compat.v1.random_uniform_initializer
Module: tf.compat.v1.raw_ops Public API for tf.raw_ops namespace. Functions Abort(...): Raise a exception to abort the process when called. Abs(...): Computes the absolute value of a tensor. AccumulateNV2(...): Returns the element-wise sum of a list of tensors. AccumulatorApplyGradient(...): Applies a gradient to a g...
tensorflow.compat.v1.raw_ops
tf.compat.v1.ReaderBase Base class for different Reader types, that produce a record every step. tf.compat.v1.ReaderBase( reader_ref, supports_serialize=False ) Conceptually, Readers convert string 'work units' into records (key, value pairs). Typically the 'work units' are filenames and the records are extracted...
tensorflow.compat.v1.readerbase
tf.compat.v1.reduce_all Computes the "logical and" of elements across dimensions of a tensor. (deprecated arguments) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.math.reduce_all tf.compat.v1.reduce_all( input_tensor, axis=None, keepdims=None, name=None, reduction...
tensorflow.compat.v1.reduce_all
tf.compat.v1.reduce_any Computes the "logical or" of elements across dimensions of a tensor. (deprecated arguments) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.math.reduce_any tf.compat.v1.reduce_any( input_tensor, axis=None, keepdims=None, name=None, reduction_...
tensorflow.compat.v1.reduce_any
tf.compat.v1.reduce_join Joins all strings into a single string, or joins along an axis. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.strings.reduce_join tf.compat.v1.reduce_join( inputs, axis=None, keep_dims=None, separator='', name=None, reduction_indices=N...
tensorflow.compat.v1.reduce_join
tf.compat.v1.reduce_logsumexp Computes log(sum(exp(elements across dimensions of a tensor))). (deprecated arguments) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.math.reduce_logsumexp tf.compat.v1.reduce_logsumexp( input_tensor, axis=None, keepdims=None, name=Non...
tensorflow.compat.v1.reduce_logsumexp
tf.compat.v1.reduce_max Computes the maximum of elements across dimensions of a tensor. (deprecated arguments) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.math.reduce_max tf.compat.v1.reduce_max( input_tensor, axis=None, keepdims=None, name=None, reduction_indic...
tensorflow.compat.v1.reduce_max
tf.compat.v1.reduce_mean Computes the mean of elements across dimensions of a tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.math.reduce_mean tf.compat.v1.reduce_mean( input_tensor, axis=None, keepdims=None, name=None, reduction_indices=None, keep_dims=...
tensorflow.compat.v1.reduce_mean
tf.compat.v1.reduce_min Computes the minimum of elements across dimensions of a tensor. (deprecated arguments) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.math.reduce_min tf.compat.v1.reduce_min( input_tensor, axis=None, keepdims=None, name=None, reduction_indic...
tensorflow.compat.v1.reduce_min
tf.compat.v1.reduce_prod Computes the product of elements across dimensions of a tensor. (deprecated arguments) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.math.reduce_prod tf.compat.v1.reduce_prod( input_tensor, axis=None, keepdims=None, name=None, reduction_in...
tensorflow.compat.v1.reduce_prod
tf.compat.v1.reduce_sum Computes the sum of elements across dimensions of a tensor. (deprecated arguments) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.math.reduce_sum tf.compat.v1.reduce_sum( input_tensor, axis=None, keepdims=None, name=None, reduction_indices=N...
tensorflow.compat.v1.reduce_sum
tf.compat.v1.report_uninitialized_variables Adds ops to list the names of uninitialized variables. tf.compat.v1.report_uninitialized_variables( var_list=None, name='report_uninitialized_variables' ) When run, it returns a 1-D tensor containing the names of uninitialized variables if there are any, or an empty arr...
tensorflow.compat.v1.report_uninitialized_variables
tf.compat.v1.reset_default_graph Clears the default graph stack and resets the global default graph. tf.compat.v1.reset_default_graph() Note: The default graph is a property of the current thread. This function applies only to the current thread. Calling this function while a tf.compat.v1.Session or tf.compat.v1.Int...
tensorflow.compat.v1.reset_default_graph
Module: tf.compat.v1.resource_loader Resource management library. Functions get_data_files_path(...): Get a direct path to the data files colocated with the script. get_path_to_datafile(...): Get the path to the specified file in the data dependencies. get_root_dir_with_all_resources(...): Get a root directory containi...
tensorflow.compat.v1.resource_loader
tf.compat.v1.resource_loader.get_data_files_path Get a direct path to the data files colocated with the script. tf.compat.v1.resource_loader.get_data_files_path() Returns The directory where files specified in data attribute of py_test and py_binary are stored.
tensorflow.compat.v1.resource_loader.get_data_files_path
tf.compat.v1.resource_loader.get_path_to_datafile Get the path to the specified file in the data dependencies. tf.compat.v1.resource_loader.get_path_to_datafile( path ) The path is relative to tensorflow/ Args path a string resource path relative to tensorflow/ Returns The path to the specified...
tensorflow.compat.v1.resource_loader.get_path_to_datafile
tf.compat.v1.resource_loader.get_root_dir_with_all_resources Get a root directory containing all the data attributes in the build rule. tf.compat.v1.resource_loader.get_root_dir_with_all_resources() Returns The path to the specified file present in the data attribute of py_test or py_binary. Falls back to retu...
tensorflow.compat.v1.resource_loader.get_root_dir_with_all_resources
tf.compat.v1.resource_loader.load_resource Load the resource at given path, where path is relative to tensorflow/. tf.compat.v1.resource_loader.load_resource( path ) Args path a string resource path relative to tensorflow/. Returns The contents of that resource. Raises IOError If th...
tensorflow.compat.v1.resource_loader.load_resource
tf.compat.v1.resource_loader.readahead_file_path Readahead files not implemented; simply returns given path. tf.compat.v1.resource_loader.readahead_file_path( path, readahead='128M' )
tensorflow.compat.v1.resource_loader.readahead_file_path
tf.compat.v1.resource_variables_enabled Returns True if resource variables are enabled. tf.compat.v1.resource_variables_enabled() Resource variables are improved versions of TensorFlow variables with a well-defined memory model. Accessing a resource variable reads its value, and all ops which access a specific read v...
tensorflow.compat.v1.resource_variables_enabled
tf.compat.v1.reverse_sequence Reverses variable length slices. (deprecated arguments) (deprecated arguments) tf.compat.v1.reverse_sequence( input, seq_lengths, seq_axis=None, batch_axis=None, name=None, seq_dim=None, batch_dim=None ) Warning: SOME ARGUMENTS ARE DEPRECATED: (seq_dim). They will be removed in a...
tensorflow.compat.v1.reverse_sequence
tf.compat.v1.RunMetadata A ProtocolMessage Attributes cost_graph CostGraphDef cost_graph function_graphs repeated FunctionGraphs function_graphs partition_graphs repeated GraphDef partition_graphs step_stats StepStats step_stats Child Classes class FunctionGraphs
tensorflow.compat.v1.runmetadata
tf.compat.v1.RunMetadata.FunctionGraphs A ProtocolMessage Attributes partition_graphs repeated GraphDef partition_graphs post_optimization_graph GraphDef post_optimization_graph pre_optimization_graph GraphDef pre_optimization_graph
tensorflow.compat.v1.runmetadata.functiongraphs
tf.compat.v1.RunOptions A ProtocolMessage Attributes debug_options DebugOptions debug_options experimental Experimental experimental inter_op_thread_pool int32 inter_op_thread_pool output_partition_graphs bool output_partition_graphs report_tensor_allocations_upon_oom bool report_tensor...
tensorflow.compat.v1.runoptions
tf.compat.v1.RunOptions.Experimental A ProtocolMessage Attributes collective_graph_key int64 collective_graph_key run_handler_pool_options RunHandlerPoolOptions run_handler_pool_options use_run_handler_pool bool use_run_handler_pool Child Classes class RunHandlerPoolOptions
tensorflow.compat.v1.runoptions.experimental
tf.compat.v1.RunOptions.Experimental.RunHandlerPoolOptions A ProtocolMessage Attributes priority int64 priority
tensorflow.compat.v1.runoptions.experimental.runhandlerpooloptions
Module: tf.compat.v1.saved_model Public API for tf.saved_model namespace. Modules builder module: SavedModel builder. constants module: Constants for SavedModel save and restore operations. experimental module: Public API for tf.saved_model.experimental namespace. loader module: Loader functionality for SavedModel with...
tensorflow.compat.v1.saved_model
Module: tf.compat.v1.saved_model.builder SavedModel builder. Builds a SavedModel that can be saved to storage, is language neutral, and enables systems to produce, consume, or transform TensorFlow Models. Classes class SavedModelBuilder: Builds the SavedModel protocol buffer and saves variables and assets.
tensorflow.compat.v1.saved_model.builder
tf.compat.v1.saved_model.build_signature_def Utility function to build a SignatureDef protocol buffer. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.signature_def_utils.build_signature_def tf.compat.v1.saved_model.build_signature_def( inputs=None, outp...
tensorflow.compat.v1.saved_model.build_signature_def
tf.compat.v1.saved_model.build_tensor_info Utility function to build TensorInfo proto from a Tensor. (deprecated) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.utils.build_tensor_info tf.compat.v1.saved_model.build_tensor_info( tensor ) Warning: THIS ...
tensorflow.compat.v1.saved_model.build_tensor_info
tf.compat.v1.saved_model.classification_signature_def Creates classification signature from given examples and predictions. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.signature_def_utils.classification_signature_def tf.compat.v1.saved_model.classificati...
tensorflow.compat.v1.saved_model.classification_signature_def
Module: tf.compat.v1.saved_model.constants Constants for SavedModel save and restore operations. Other Members ASSETS_DIRECTORY 'assets' ASSETS_KEY 'saved_model_assets' DEBUG_DIRECTORY 'debug' DEBUG_INFO_FILENAME_PB 'saved_model_debug_info.pb' LEGACY_INIT_OP_KEY 'legacy_init_op' MAI...
tensorflow.compat.v1.saved_model.constants
tf.compat.v1.saved_model.contains_saved_model Checks whether the provided export directory could contain a SavedModel. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.loader.maybe_saved_model_directory, tf.compat.v1.saved_model.maybe_saved_model_directory tf...
tensorflow.compat.v1.saved_model.contains_saved_model
Module: tf.compat.v1.saved_model.experimental Public API for tf.saved_model.experimental namespace. Classes class VariablePolicy: Enum defining options for variable handling when saving. Functions save(...): Exports the Trackable object obj to SavedModel format.
tensorflow.compat.v1.saved_model.experimental
tf.compat.v1.saved_model.get_tensor_from_tensor_info Returns the Tensor or CompositeTensor described by a TensorInfo proto. (deprecated) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.utils.get_tensor_from_tensor_info tf.compat.v1.saved_model.get_tensor_fro...
tensorflow.compat.v1.saved_model.get_tensor_from_tensor_info
tf.compat.v1.saved_model.is_valid_signature Determine whether a SignatureDef can be served by TensorFlow Serving. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.signature_def_utils.is_valid_signature tf.compat.v1.saved_model.is_valid_signature( signatur...
tensorflow.compat.v1.saved_model.is_valid_signature
tf.compat.v1.saved_model.load Loads the model from a SavedModel as specified by tags. (deprecated) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.loader.load tf.compat.v1.saved_model.load( sess, tags, export_dir, import_scope=None, **saver_kwargs ) War...
tensorflow.compat.v1.saved_model.load
Module: tf.compat.v1.saved_model.loader Loader functionality for SavedModel with hermetic, language-neutral exports. Load and restore capability for a SavedModel, which may include multiple meta graph defs. Each SavedModel is associated with a single checkpoint. Each meta graph def is saved with one or more tags, which...
tensorflow.compat.v1.saved_model.loader
Module: tf.compat.v1.saved_model.main_op SavedModel main op. Builds a main op that defines the sequence of ops to be run as part of the SavedModel load/restore operations. Functions main_op(...): Returns a main op to init variables and tables. (deprecated) main_op_with_restore(...): Returns a main op to init variables,...
tensorflow.compat.v1.saved_model.main_op
tf.compat.v1.saved_model.main_op.main_op Returns a main op to init variables and tables. (deprecated) tf.compat.v1.saved_model.main_op.main_op() Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: This function will only be available through the v1 compatibility li...
tensorflow.compat.v1.saved_model.main_op.main_op
tf.compat.v1.saved_model.main_op_with_restore Returns a main op to init variables, tables and restore the graph. (deprecated) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.main_op.main_op_with_restore tf.compat.v1.saved_model.main_op_with_restore( rest...
tensorflow.compat.v1.saved_model.main_op_with_restore
tf.compat.v1.saved_model.predict_signature_def Creates prediction signature from given inputs and outputs. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.signature_def_utils.predict_signature_def tf.compat.v1.saved_model.predict_signature_def( inputs, o...
tensorflow.compat.v1.saved_model.predict_signature_def
tf.compat.v1.saved_model.regression_signature_def Creates regression signature from given examples and predictions. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.signature_def_utils.regression_signature_def tf.compat.v1.saved_model.regression_signature_def...
tensorflow.compat.v1.saved_model.regression_signature_def
Module: tf.compat.v1.saved_model.signature_constants Signature constants for SavedModel save and restore operations. Other Members CLASSIFY_INPUTS 'inputs' CLASSIFY_METHOD_NAME 'tensorflow/serving/classify' CLASSIFY_OUTPUT_CLASSES 'classes' CLASSIFY_OUTPUT_SCORES 'scores' DEFAULT_SERVING_...
tensorflow.compat.v1.saved_model.signature_constants
Module: tf.compat.v1.saved_model.signature_def_utils SignatureDef utility functions. Utility functions for building and inspecting SignatureDef protos. Classes class MethodNameUpdater: Updates the method name(s) of the SavedModel stored in the given path. Functions build_signature_def(...): Utility function to build a ...
tensorflow.compat.v1.saved_model.signature_def_utils
tf.compat.v1.saved_model.signature_def_utils.MethodNameUpdater Updates the method name(s) of the SavedModel stored in the given path. tf.compat.v1.saved_model.signature_def_utils.MethodNameUpdater( export_dir ) The MethodNameUpdater class provides the functionality to update the method name field in the signature...
tensorflow.compat.v1.saved_model.signature_def_utils.methodnameupdater
tf.compat.v1.saved_model.simple_save Convenience function to build a SavedModel suitable for serving. (deprecated) tf.compat.v1.saved_model.simple_save( session, export_dir, inputs, outputs, legacy_init_op=None ) Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updati...
tensorflow.compat.v1.saved_model.simple_save
Module: tf.compat.v1.saved_model.tag_constants Common tags used for graphs in SavedModel. Other Members GPU 'gpu' SERVING 'serve' TPU 'tpu' TRAINING 'train'
tensorflow.compat.v1.saved_model.tag_constants
Module: tf.compat.v1.saved_model.utils SavedModel utility functions. Utility functions to assist with setup and construction of the SavedModel proto. Functions build_tensor_info(...): Utility function to build TensorInfo proto from a Tensor. (deprecated) get_tensor_from_tensor_info(...): Returns the Tensor or Composite...
tensorflow.compat.v1.saved_model.utils
tf.compat.v1.scalar_mul Multiplies a scalar times a Tensor or IndexedSlices object. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.math.scalar_mul tf.compat.v1.scalar_mul( scalar, x, name=None ) Intended for use in gradient code which might deal with IndexedSlices...
tensorflow.compat.v1.scalar_mul
tf.compat.v1.scan scan on the list of tensors unpacked from elems on dimension 0. tf.compat.v1.scan( fn, elems, initializer=None, parallel_iterations=10, back_prop=True, swap_memory=False, infer_shape=True, reverse=False, name=None ) See also tf.map_fn. The simplest version of scan repeatedly applies the call...
tensorflow.compat.v1.scan
tf.compat.v1.scatter_add Adds sparse updates to the variable referenced by resource. tf.compat.v1.scatter_add( ref, indices, updates, use_locking=False, name=None ) This operation computes # Scalar indices ref[indices, ...] += updates[...] # Vector indices (for each i) ref[indices[i], ...] += updates[i, ...] # ...
tensorflow.compat.v1.scatter_add
tf.compat.v1.scatter_div Divides a variable reference by sparse updates. tf.compat.v1.scatter_div( ref, indices, updates, use_locking=False, name=None ) This operation computes # Scalar indices ref[indices, ...] /= updates[...] # Vector indices (for each i) ref[indices[i], ...] /= updates[i, ...] # High rank in...
tensorflow.compat.v1.scatter_div
tf.compat.v1.scatter_max Reduces sparse updates into a variable reference using the max operation. tf.compat.v1.scatter_max( ref, indices, updates, use_locking=False, name=None ) This operation computes # Scalar indices ref[indices, ...] = max(ref[indices, ...], updates[...]) # Vector indices (for each i) ref[in...
tensorflow.compat.v1.scatter_max
tf.compat.v1.scatter_min Reduces sparse updates into a variable reference using the min operation. tf.compat.v1.scatter_min( ref, indices, updates, use_locking=False, name=None ) This operation computes # Scalar indices ref[indices, ...] = min(ref[indices, ...], updates[...]) # Vector indices (for each i) ref[in...
tensorflow.compat.v1.scatter_min
tf.compat.v1.scatter_mul Multiplies sparse updates into a variable reference. tf.compat.v1.scatter_mul( ref, indices, updates, use_locking=False, name=None ) This operation computes # Scalar indices ref[indices, ...] *= updates[...] # Vector indices (for each i) ref[indices[i], ...] *= updates[i, ...] # High ra...
tensorflow.compat.v1.scatter_mul
tf.compat.v1.scatter_nd_add Applies sparse addition to individual values or slices in a Variable. tf.compat.v1.scatter_nd_add( ref, indices, updates, use_locking=False, name=None ) ref is a Tensor with rank P and indices is a Tensor of rank Q. indices must be integer tensor, containing indices into ref. It must b...
tensorflow.compat.v1.scatter_nd_add
tf.compat.v1.scatter_nd_sub Applies sparse subtraction to individual values or slices in a Variable. tf.compat.v1.scatter_nd_sub( ref, indices, updates, use_locking=False, name=None ) ref is a Tensor with rank P and indices is a Tensor of rank Q. indices must be integer tensor, containing indices into ref. It mus...
tensorflow.compat.v1.scatter_nd_sub