doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
tf.summary.trace_export Stops and exports the active trace as a Summary and/or profile file.
tf.summary.trace_export(
name, step=None, profiler_outdir=None
)
Stops the trace and exports all metadata collected during the trace to the default SummaryWriter, if one has been set.
Args
name A name for the sum... | tensorflow.summary.trace_export |
tf.summary.trace_off Stops the current trace and discards any collected information.
tf.summary.trace_off() | tensorflow.summary.trace_off |
tf.summary.trace_on Starts a trace to record computation graphs and profiling information.
tf.summary.trace_on(
graph=True, profiler=False
)
Must be invoked in eager mode. When enabled, TensorFlow runtime will collection information that can later be exported and consumed by TensorBoard. The trace is activated ac... | tensorflow.summary.trace_on |
tf.summary.write Writes a generic summary to the default SummaryWriter if one exists.
tf.summary.write(
tag, tensor, step=None, metadata=None, name=None
)
This exists primarily to support the definition of type-specific summary ops like scalar() and image(), and is not intended for direct use unless defining a ne... | tensorflow.summary.write |
tf.switch_case View source on GitHub Create a switch/case operation, i.e. an integer-indexed conditional. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.switch_case
tf.switch_case(
branch_index, branch_fns, default=None, name='switch_case'
)
See also tf.cas... | tensorflow.switch_case |
Module: tf.sysconfig System configuration library. Functions get_build_info(...): Get a dictionary describing TensorFlow's build environment. get_compile_flags(...): Get the compilation flags for custom operators. get_include(...): Get the directory containing the TensorFlow C++ header files. get_lib(...): Get the dire... | tensorflow.sysconfig |
tf.sysconfig.get_build_info Get a dictionary describing TensorFlow's build environment. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.sysconfig.get_build_info
tf.sysconfig.get_build_info()
Values are generated when TensorFlow is compiled, and are static for each Tens... | tensorflow.sysconfig.get_build_info |
tf.sysconfig.get_compile_flags View source on GitHub Get the compilation flags for custom operators. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.sysconfig.get_compile_flags
tf.sysconfig.get_compile_flags()
Returns The compilation flags. | tensorflow.sysconfig.get_compile_flags |
tf.sysconfig.get_include View source on GitHub Get the directory containing the TensorFlow C++ header files. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.sysconfig.get_include
tf.sysconfig.get_include()
Returns The directory as string. | tensorflow.sysconfig.get_include |
tf.sysconfig.get_lib View source on GitHub Get the directory containing the TensorFlow framework library. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.sysconfig.get_lib
tf.sysconfig.get_lib()
Returns The directory as string. | tensorflow.sysconfig.get_lib |
tf.sysconfig.get_link_flags View source on GitHub Get the link flags for custom operators. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.sysconfig.get_link_flags
tf.sysconfig.get_link_flags()
Returns The link flags. | tensorflow.sysconfig.get_link_flags |
tf.Tensor View source on GitHub A tensor is a multidimensional array of elements represented by a View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.Tensor
tf.Tensor(
op, value_index, dtype
)
tf.Tensor object. All elements are of a single known data type. Whe... | tensorflow.tensor |
tf.TensorArray View source on GitHub Class wrapping dynamic-sized, per-time-step, write-once Tensor arrays. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.TensorArray
tf.TensorArray(
dtype, size=None, dynamic_size=None, clear_after_read=None,
tensor_arra... | tensorflow.tensorarray |
tf.TensorArraySpec View source on GitHub Type specification for a tf.TensorArray. Inherits From: TypeSpec View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.TensorArraySpec
tf.TensorArraySpec(
element_shape=None, dtype=tf.dtypes.float32, dynamic_size=False,
... | tensorflow.tensorarrayspec |
tf.tensordot View source on GitHub Tensor contraction of a and b along specified axes and outer product. View aliases Main aliases
tf.linalg.tensordot Compat aliases for migration See Migration guide for more details. tf.compat.v1.linalg.tensordot, tf.compat.v1.tensordot
tf.tensordot(
a, b, axes, name... | tensorflow.tensordot |
tf.TensorShape View source on GitHub Represents the shape of a Tensor. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.TensorShape
tf.TensorShape(
dims
)
A TensorShape represents a possibly-partial shape specification for a Tensor. It may be one of the follo... | tensorflow.tensorshape |
tf.TensorSpec View source on GitHub Describes a tf.Tensor. Inherits From: TypeSpec View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.TensorSpec
tf.TensorSpec(
shape, dtype=tf.dtypes.float32, name=None
)
Metadata for describing the tf.Tensor objects accepted or... | tensorflow.tensorspec |
tf.tensor_scatter_nd_add Adds sparse updates to an existing tensor according to indices. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tensor_scatter_add, tf.compat.v1.tensor_scatter_nd_add
tf.tensor_scatter_nd_add(
tensor, indices, updates, name=None
)
This oper... | tensorflow.tensor_scatter_nd_add |
tf.tensor_scatter_nd_max View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tensor_scatter_nd_max
tf.tensor_scatter_nd_max(
tensor, indices, updates, name=None
)
Args
tensor A Tensor. Tensor to update.
indices A Tensor. Must be one of the following type... | tensorflow.tensor_scatter_nd_max |
tf.tensor_scatter_nd_min View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tensor_scatter_nd_min
tf.tensor_scatter_nd_min(
tensor, indices, updates, name=None
)
Args
tensor A Tensor. Tensor to update.
indices A Tensor. Must be one of the following type... | tensorflow.tensor_scatter_nd_min |
tf.tensor_scatter_nd_sub Subtracts sparse updates from an existing tensor according to indices. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tensor_scatter_nd_sub, tf.compat.v1.tensor_scatter_sub
tf.tensor_scatter_nd_sub(
tensor, indices, updates, name=None
)
Th... | tensorflow.tensor_scatter_nd_sub |
tf.tensor_scatter_nd_update View source on GitHub "Scatter updates into an existing tensor according to indices. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tensor_scatter_nd_update, tf.compat.v1.tensor_scatter_update
tf.tensor_scatter_nd_update(
tensor, ... | tensorflow.tensor_scatter_nd_update |
Module: tf.test Testing. Classes class Benchmark: Abstract class that provides helpers for TensorFlow benchmarks. class TestCase: Base class for tests that need to test TensorFlow. Functions assert_equal_graph_def(...): Asserts that two GraphDefs are (mostly) the same. benchmark_config(...): Returns a tf.compat.v1.Conf... | tensorflow.test |
tf.test.assert_equal_graph_def View source on GitHub Asserts that two GraphDefs are (mostly) the same.
tf.test.assert_equal_graph_def(
expected, actual
)
Compares two GraphDef protos for equality, ignoring versions and ordering of nodes, attrs, and control inputs. Node names are used to match up nodes betw... | tensorflow.test.assert_equal_graph_def |
tf.test.Benchmark View source on GitHub Abstract class that provides helpers for TensorFlow benchmarks. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.test.Benchmark
tf.test.Benchmark()
Methods evaluate View source
evaluate(
tensors
)
Evaluates tensors an... | tensorflow.test.benchmark |
tf.test.benchmark_config View source on GitHub Returns a tf.compat.v1.ConfigProto for disabling the dependency optimizer. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.test.benchmark_config
tf.test.benchmark_config()
Returns A TensorFlow ConfigProto obj... | tensorflow.test.benchmark_config |
tf.test.compute_gradient View source on GitHub Computes the theoretical and numeric Jacobian of f.
tf.test.compute_gradient(
f, x, delta=0.001
)
With y = f(x), computes the theoretical and numeric Jacobian dy/dx.
Args
f the function.
x the arguments for the function as a list or tuple of val... | tensorflow.test.compute_gradient |
tf.test.create_local_cluster View source on GitHub Create and start local servers and return the associated Server objects. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.test.create_local_cluster
tf.test.create_local_cluster(
num_workers, num_ps, protocol='... | tensorflow.test.create_local_cluster |
tf.test.gpu_device_name View source on GitHub Returns the name of a GPU device if available or the empty string. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.test.gpu_device_name
tf.test.gpu_device_name() | tensorflow.test.gpu_device_name |
tf.test.is_built_with_cuda View source on GitHub Returns whether TensorFlow was built with CUDA (GPU) support. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.test.is_built_with_cuda
tf.test.is_built_with_cuda() | tensorflow.test.is_built_with_cuda |
tf.test.is_built_with_gpu_support View source on GitHub Returns whether TensorFlow was built with GPU (i.e. CUDA or ROCm) support. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.test.is_built_with_gpu_support
tf.test.is_built_with_gpu_support() | tensorflow.test.is_built_with_gpu_support |
tf.test.is_built_with_rocm View source on GitHub Returns whether TensorFlow was built with ROCm (GPU) support. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.test.is_built_with_rocm
tf.test.is_built_with_rocm() | tensorflow.test.is_built_with_rocm |
tf.test.is_built_with_xla Returns whether TensorFlow was built with XLA support. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.test.is_built_with_xla
tf.test.is_built_with_xla() | tensorflow.test.is_built_with_xla |
tf.test.is_gpu_available View source on GitHub Returns whether TensorFlow can access a GPU. (deprecated) View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.test.is_gpu_available
tf.test.is_gpu_available(
cuda_only=False, min_cuda_compute_capability=None
)
Warni... | tensorflow.test.is_gpu_available |
tf.test.main View source on GitHub Runs all unit tests. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.test.main
tf.test.main(
argv=None
) | tensorflow.test.main |
tf.test.TestCase View source on GitHub Base class for tests that need to test TensorFlow. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.test.TestCase
tf.test.TestCase(
methodName='runTest'
)
Child Classes class failureException Methods addCleanup
addCle... | tensorflow.test.testcase |
tf.test.TestCase.failureException Assertion failed. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.test.TestCase.failureException
tf.test.TestCase.failureException(
*args, **kwargs
) | tensorflow.test.testcase.failureexception |
tf.tile Constructs a tensor by tiling a given tensor. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.manip.tile, tf.compat.v1.tile
tf.tile(
input, multiples, name=None
)
This operation creates a new tensor by replicating input multiples times. The output tensor's ... | tensorflow.tile |
tf.timestamp Provides the time since epoch in seconds. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.timestamp
tf.timestamp(
name=None
)
Returns the timestamp as a float64 for seconds since the Unix epoch.
Note: the timestamp is computed when the op is executed,... | tensorflow.timestamp |
Module: tf.tpu Ops related to Tensor Processing Units. Modules experimental module: Public API for tf.tpu.experimental namespace. | tensorflow.tpu |
Module: tf.tpu.experimental Public API for tf.tpu.experimental namespace. Modules embedding module: Public API for tf.tpu.experimental.embedding namespace. Classes class DeviceAssignment: Mapping from logical cores in a computation to the physical TPU topology. class TPUSystemMetadata: Describes some metadata about the... | tensorflow.tpu.experimental |
tf.tpu.experimental.DeviceAssignment View source on GitHub Mapping from logical cores in a computation to the physical TPU topology. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tpu.experimental.DeviceAssignment
tf.tpu.experimental.DeviceAssignment(
topolo... | tensorflow.tpu.experimental.deviceassignment |
Module: tf.tpu.experimental.embedding Public API for tf.tpu.experimental.embedding namespace. Classes class Adagrad: Optimization parameters for Adagrad with TPU embeddings. class Adam: Optimization parameters for Adam with TPU embeddings. class FeatureConfig: Configuration data for one embedding feature. class SGD: Op... | tensorflow.tpu.experimental.embedding |
tf.tpu.experimental.embedding.Adagrad Optimization parameters for Adagrad with TPU embeddings. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tpu.experimental.embedding.Adagrad
tf.tpu.experimental.embedding.Adagrad(
learning_rate: float = 0.001,
initial_accumul... | tensorflow.tpu.experimental.embedding.adagrad |
tf.tpu.experimental.embedding.Adam Optimization parameters for Adam with TPU embeddings. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tpu.experimental.embedding.Adam
tf.tpu.experimental.embedding.Adam(
learning_rate: Union[float, Callable[[], float]] = 0.001,
... | tensorflow.tpu.experimental.embedding.adam |
tf.tpu.experimental.embedding.FeatureConfig Configuration data for one embedding feature. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tpu.experimental.embedding.FeatureConfig
tf.tpu.experimental.embedding.FeatureConfig(
table: tf.tpu.experimental.embedding.Table... | tensorflow.tpu.experimental.embedding.featureconfig |
tf.tpu.experimental.embedding.serving_embedding_lookup Apply standard lookup ops with tf.tpu.experimental.embedding configs. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tpu.experimental.embedding.serving_embedding_lookup
tf.tpu.experimental.embedding.serving_embeddi... | tensorflow.tpu.experimental.embedding.serving_embedding_lookup |
tf.tpu.experimental.embedding.SGD Optimization parameters for stochastic gradient descent for TPU embeddings. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tpu.experimental.embedding.SGD
tf.tpu.experimental.embedding.SGD(
learning_rate: Union[float, Callable[[], f... | tensorflow.tpu.experimental.embedding.sgd |
tf.tpu.experimental.embedding.TableConfig Configuration data for one embedding table. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tpu.experimental.embedding.TableConfig
tf.tpu.experimental.embedding.TableConfig(
vocabulary_size: int,
dim: int,
initialize... | tensorflow.tpu.experimental.embedding.tableconfig |
tf.tpu.experimental.embedding.TPUEmbedding The TPUEmbedding mid level API. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tpu.experimental.embedding.TPUEmbedding
tf.tpu.experimental.embedding.TPUEmbedding(
feature_config: Any,
optimizer: Optional[tpu_embedding_... | tensorflow.tpu.experimental.embedding.tpuembedding |
tf.tpu.experimental.initialize_tpu_system View source on GitHub Initialize the TPU devices. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tpu.experimental.initialize_tpu_system
tf.tpu.experimental.initialize_tpu_system(
cluster_resolver=None
)
Args
... | tensorflow.tpu.experimental.initialize_tpu_system |
tf.tpu.experimental.shutdown_tpu_system Shuts down the TPU devices. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tpu.experimental.shutdown_tpu_system
tf.tpu.experimental.shutdown_tpu_system(
cluster_resolver=None
)
This will clear all caches, even those that are... | tensorflow.tpu.experimental.shutdown_tpu_system |
tf.tpu.experimental.Topology Describes a set of TPU devices. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tpu.experimental.Topology
tf.tpu.experimental.Topology(
serialized=None, mesh_shape=None, device_coordinates=None
)
Represents both the shape of the physica... | tensorflow.tpu.experimental.topology |
tf.tpu.experimental.TPUSystemMetadata Describes some metadata about the TPU system. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.tpu.experimental.TPUSystemMetadata
tf.tpu.experimental.TPUSystemMetadata(
num_cores, num_hosts, num_of_cores_per_host, topology, devic... | tensorflow.tpu.experimental.tpusystemmetadata |
Module: tf.train Support for training models. See the Training guide. Modules experimental module: Public API for tf.train.experimental namespace. Classes class BytesList: A ProtocolMessage class Checkpoint: Manages saving/restoring trackable values to disk. class CheckpointManager: Manages multiple checkpoints by keep... | tensorflow.train |
tf.train.BytesList View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.BytesList
Attributes
value repeated bytes value | tensorflow.train.byteslist |
tf.train.Checkpoint View source on GitHub Manages saving/restoring trackable values to disk.
tf.train.Checkpoint(
root=None, **kwargs
)
TensorFlow objects may contain trackable state, such as tf.Variables, tf.keras.optimizers.Optimizer implementations, tf.data.Dataset iterators, tf.keras.Layer implementati... | tensorflow.train.checkpoint |
tf.train.CheckpointManager View source on GitHub Manages multiple checkpoints by keeping some and deleting unneeded ones. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.CheckpointManager
tf.train.CheckpointManager(
checkpoint, directory, max_to_keep, k... | tensorflow.train.checkpointmanager |
tf.train.CheckpointOptions Options for constructing a Checkpoint. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.CheckpointOptions
tf.train.CheckpointOptions(
experimental_io_device=None
)
Used as the _options argument to the tf.Checkpoint constructor to adj... | tensorflow.train.checkpointoptions |
tf.train.checkpoints_iterator View source on GitHub Continuously yield new checkpoint files as they appear. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.checkpoints_iterator
tf.train.checkpoints_iterator(
checkpoint_dir, min_interval_secs=0, timeout=... | tensorflow.train.checkpoints_iterator |
tf.train.ClusterDef View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.ClusterDef
Attributes
job repeated JobDef job | tensorflow.train.clusterdef |
tf.train.ClusterSpec View source on GitHub Represents a cluster as a set of "tasks", organized into "jobs". View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.ClusterSpec
tf.train.ClusterSpec(
cluster
)
A tf.train.ClusterSpec represents the set of process... | tensorflow.train.clusterspec |
tf.train.Coordinator View source on GitHub A coordinator for threads. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.Coordinator
tf.train.Coordinator(
clean_stop_exception_types=None
)
This class implements a simple mechanism to coordinate the termina... | tensorflow.train.coordinator |
tf.train.Example View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.Example
Attributes
features Features features | tensorflow.train.example |
Module: tf.train.experimental Public API for tf.train.experimental namespace. Classes class DynamicLossScale: Loss scale that dynamically adjusts itself. class FixedLossScale: Loss scale with a fixed value. class LossScale: Base class for all TF1 loss scales. class PythonState: A mixin for putting Python state in an ob... | tensorflow.train.experimental |
tf.train.experimental.disable_mixed_precision_graph_rewrite View source on GitHub Disables the mixed precision graph rewrite. (deprecated)
tf.train.experimental.disable_mixed_precision_graph_rewrite()
Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2020-11-30. Instructions for updating: Use tf.k... | tensorflow.train.experimental.disable_mixed_precision_graph_rewrite |
tf.train.experimental.enable_mixed_precision_graph_rewrite View source on GitHub Enable mixed precision via a graph rewrite. (deprecated)
tf.train.experimental.enable_mixed_precision_graph_rewrite(
opt, loss_scale='dynamic'
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2020-11-30. Instru... | tensorflow.train.experimental.enable_mixed_precision_graph_rewrite |
tf.train.experimental.PythonState View source on GitHub A mixin for putting Python state in an object-based checkpoint. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.experimental.PythonState This is an abstract class which allows extensions to TensorFlow's... | tensorflow.train.experimental.pythonstate |
tf.train.ExponentialMovingAverage View source on GitHub Maintains moving averages of variables by employing an exponential decay. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.ExponentialMovingAverage
tf.train.ExponentialMovingAverage(
decay, num_upda... | tensorflow.train.exponentialmovingaverage |
tf.train.Feature View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.Feature
Attributes
bytes_list BytesList bytes_list
float_list FloatList float_list
int64_list Int64List int64_list | tensorflow.train.feature |
tf.train.FeatureList View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.FeatureList
Attributes
feature repeated Feature feature | tensorflow.train.featurelist |
tf.train.FeatureLists View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.FeatureLists
Attributes
feature_list repeated FeatureListEntry feature_list Child Classes class FeatureListEntry | tensorflow.train.featurelists |
tf.train.FeatureLists.FeatureListEntry View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.FeatureLists.FeatureListEntry
Attributes
key string key
value FeatureList value | tensorflow.train.featurelists.featurelistentry |
tf.train.Features View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.Features
Attributes
feature repeated FeatureEntry feature Child Classes class FeatureEntry | tensorflow.train.features |
tf.train.Features.FeatureEntry View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.Features.FeatureEntry
Attributes
key string key
value Feature value | tensorflow.train.features.featureentry |
tf.train.FloatList View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.FloatList
Attributes
value repeated float value | tensorflow.train.floatlist |
tf.train.get_checkpoint_state View source on GitHub Returns CheckpointState proto from the "checkpoint" file. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.get_checkpoint_state
tf.train.get_checkpoint_state(
checkpoint_dir, latest_filename=None
)
If ... | tensorflow.train.get_checkpoint_state |
tf.train.Int64List View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.Int64List
Attributes
value repeated int64 value | tensorflow.train.int64list |
tf.train.JobDef View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.JobDef
Attributes
name string name
tasks repeated TasksEntry tasks Child Classes class TasksEntry | tensorflow.train.jobdef |
tf.train.JobDef.TasksEntry View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.JobDef.TasksEntry
Attributes
key int32 key
value string value | tensorflow.train.jobdef.tasksentry |
tf.train.latest_checkpoint View source on GitHub Finds the filename of latest saved checkpoint file. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.latest_checkpoint
tf.train.latest_checkpoint(
checkpoint_dir, latest_filename=None
)
Gets the checkpoin... | tensorflow.train.latest_checkpoint |
tf.train.list_variables View source on GitHub Lists the checkpoint keys and shapes of variables in a checkpoint. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.list_variables
tf.train.list_variables(
ckpt_dir_or_file
)
Checkpoint keys are paths in a c... | tensorflow.train.list_variables |
tf.train.load_checkpoint View source on GitHub Returns CheckpointReader for checkpoint found in ckpt_dir_or_file. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.load_checkpoint
tf.train.load_checkpoint(
ckpt_dir_or_file
)
If ckpt_dir_or_file resolves ... | tensorflow.train.load_checkpoint |
tf.train.load_variable View source on GitHub Returns the tensor value of the given variable in the checkpoint. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.load_variable
tf.train.load_variable(
ckpt_dir_or_file, name
)
Args
ckpt_dir_or_file ... | tensorflow.train.load_variable |
tf.train.SequenceExample View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.SequenceExample
Attributes
context Features context
feature_lists FeatureLists feature_lists | tensorflow.train.sequenceexample |
tf.train.ServerDef View source on GitHub A ProtocolMessage View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.train.ServerDef
Attributes
cluster ClusterDef cluster
cluster_device_filters ClusterDeviceFilters cluster_device_filters
default_session_c... | tensorflow.train.serverdef |
tf.transpose View source on GitHub Transposes a, where a is a Tensor.
tf.transpose(
a, perm=None, conjugate=False, name='transpose'
)
Permutes the dimensions according to the value of perm. The returned tensor's dimension i will correspond to the input dimension perm[i]. If perm is not given, it is set to ... | tensorflow.transpose |
tf.truncatediv Returns x / y element-wise for integer types. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.truncatediv
tf.truncatediv(
x, y, name=None
)
Truncation designates that negative numbers will round fractional quantities toward zero. I.e. -7 / 5 = -1. Th... | tensorflow.truncatediv |
tf.truncatemod Returns element-wise remainder of division. This emulates C semantics in that View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.truncatemod
tf.truncatemod(
x, y, name=None
)
the result here is consistent with a truncating divide. E.g. truncate(x / y) *... | tensorflow.truncatemod |
tf.tuple View source on GitHub Group tensors together.
tf.tuple(
tensors, control_inputs=None, name=None
)
This creates a tuple of tensors with the same values as the tensors argument, except that the value of each tensor is only returned after the values of all tensors have been computed. control_inputs c... | tensorflow.tuple |
Module: tf.types Public TensorFlow type definitions. For details, see https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md Modules experimental module: Public API for tf.types.experimental namespace. | tensorflow.types |
Module: tf.types.experimental Public API for tf.types.experimental namespace. Type Aliases TensorLike: Union of all types that can be converted to a tf.Tensor by tf.convert_to_tensor. | tensorflow.types.experimental |
tf.types.experimental.TensorLike This symbol is a type alias. Union of all types that can be converted to a tf.Tensor by tf.convert_to_tensor. Source:
TensorLike = Union[
tensorflow.python.types.core.Tensor,
tensorflow.python.types.core.TensorProtocol,
int,
float,
bool,
str,
complex,
tu... | tensorflow.types.experimental.tensorlike |
tf.TypeSpec View source on GitHub Specifies a TensorFlow value type. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.TypeSpec, tf.compat.v1.data.experimental.Structure A tf.TypeSpec provides metadata describing an object accepted or returned by TensorFlow APIs. Co... | tensorflow.typespec |
tf.type_spec_from_value Returns a tf.TypeSpec that represents the given value. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.type_spec_from_value
tf.type_spec_from_value(
value
)
Examples:
tf.type_spec_from_value(tf.constant([1, 2, 3]))
TensorSpec(shape=(3,), dt... | tensorflow.type_spec_from_value |
tf.UnconnectedGradients View source on GitHub Controls how gradient computation behaves when y does not depend on x. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.UnconnectedGradients The gradient of y with respect to x can be zero in two different ways: there c... | tensorflow.unconnectedgradients |
tf.unique View source on GitHub Finds unique elements in a 1-D tensor. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.unique
tf.unique(
x, out_idx=tf.dtypes.int32, name=None
)
This operation returns a tensor y containing all of the unique elements of x sort... | tensorflow.unique |
tf.unique_with_counts View source on GitHub Finds unique elements in a 1-D tensor. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.unique_with_counts
tf.unique_with_counts(
x, out_idx=tf.dtypes.int32, name=None
)
This operation returns a tensor y containing ... | tensorflow.unique_with_counts |
tf.unravel_index Converts an array of flat indices into a tuple of coordinate arrays. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.unravel_index
tf.unravel_index(
indices, dims, name=None
)
Example: y = tf.unravel_index(indices=[2, 5, 7], dims=[3, 3])
# 'dims' r... | tensorflow.unravel_index |
tf.unstack View source on GitHub Unpacks the given dimension of a rank-R tensor into rank-(R-1) tensors. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.unstack
tf.unstack(
value, num=None, axis=0, name='unstack'
)
Unpacks num tensors from value by chipping ... | tensorflow.unstack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.