doc_content
stringlengths
1
386k
doc_id
stringlengths
5
188
tf.raw_ops.TruncatedNormal Outputs random values from a truncated normal distribution. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.TruncatedNormal tf.raw_ops.TruncatedNormal( shape, dtype, seed=0, seed2=0, name=None ) The generated values follow a norma...
tensorflow.raw_ops.truncatednormal
tf.raw_ops.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.raw_ops.TruncateMod tf.raw_ops.TruncateMod( x, y, name=None ) the result here is consistent with a truncating divide...
tensorflow.raw_ops.truncatemod
tf.raw_ops.Unbatch Reverses the operation of Batch for a single output Tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.Unbatch tf.raw_ops.Unbatch( batched_tensor, batch_index, id, timeout_micros, container='', shared_name='', name=None ) An inst...
tensorflow.raw_ops.unbatch
tf.raw_ops.UnbatchDataset A dataset that splits the elements of its input into multiple elements. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnbatchDataset tf.raw_ops.UnbatchDataset( input_dataset, output_types, output_shapes, name=None ) Args i...
tensorflow.raw_ops.unbatchdataset
tf.raw_ops.UnbatchGrad Gradient of Unbatch. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnbatchGrad tf.raw_ops.UnbatchGrad( original_input, batch_index, grad, id, container='', shared_name='', name=None ) Acts like Batch but using the given batch_in...
tensorflow.raw_ops.unbatchgrad
tf.raw_ops.UncompressElement Uncompresses a compressed dataset element. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UncompressElement tf.raw_ops.UncompressElement( compressed, output_types, output_shapes, name=None ) Args compressed A Tensor of...
tensorflow.raw_ops.uncompresselement
tf.raw_ops.UnicodeDecode Decodes each string in input into a sequence of Unicode code points. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnicodeDecode tf.raw_ops.UnicodeDecode( input, input_encoding, errors='replace', replacement_char=65533, replace...
tensorflow.raw_ops.unicodedecode
tf.raw_ops.UnicodeDecodeWithOffsets Decodes each string in input into a sequence of Unicode code points. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnicodeDecodeWithOffsets tf.raw_ops.UnicodeDecodeWithOffsets( input, input_encoding, errors='replace', re...
tensorflow.raw_ops.unicodedecodewithoffsets
tf.raw_ops.UnicodeEncode Encode a tensor of ints into unicode strings. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnicodeEncode tf.raw_ops.UnicodeEncode( input_values, input_splits, output_encoding, errors='replace', replacement_char=65533, name=Non...
tensorflow.raw_ops.unicodeencode
tf.raw_ops.UnicodeScript Determine the script codes of a given tensor of Unicode integer code points. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnicodeScript tf.raw_ops.UnicodeScript( input, name=None ) This operation converts Unicode code points to s...
tensorflow.raw_ops.unicodescript
tf.raw_ops.UnicodeTranscode Transcode the input text from a source encoding to a destination encoding. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnicodeTranscode tf.raw_ops.UnicodeTranscode( input, input_encoding, output_encoding, errors='replace', ...
tensorflow.raw_ops.unicodetranscode
tf.raw_ops.UniformCandidateSampler Generates labels for candidate sampling with a uniform distribution. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UniformCandidateSampler tf.raw_ops.UniformCandidateSampler( true_classes, num_true, num_sampled, unique, r...
tensorflow.raw_ops.uniformcandidatesampler
tf.raw_ops.Unique Finds unique elements in a 1-D tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.Unique tf.raw_ops.Unique( x, out_idx=tf.dtypes.int32, name=None ) This operation returns a tensor y containing all of the unique elements of x sorted in...
tensorflow.raw_ops.unique
tf.raw_ops.UniqueDataset Creates a dataset that contains the unique elements of input_dataset. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UniqueDataset tf.raw_ops.UniqueDataset( input_dataset, output_types, output_shapes, name=None ) Args input_...
tensorflow.raw_ops.uniquedataset
tf.raw_ops.UniqueV2 Finds unique elements along an axis of a tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UniqueV2 tf.raw_ops.UniqueV2( x, axis, out_idx=tf.dtypes.int32, name=None ) This operation either returns a tensor y containing unique eleme...
tensorflow.raw_ops.uniquev2
tf.raw_ops.UniqueWithCounts Finds unique elements in a 1-D tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UniqueWithCounts tf.raw_ops.UniqueWithCounts( x, out_idx=tf.dtypes.int32, name=None ) This operation returns a tensor y containing all of the ...
tensorflow.raw_ops.uniquewithcounts
tf.raw_ops.UniqueWithCountsV2 Finds unique elements along an axis of a tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UniqueWithCountsV2 tf.raw_ops.UniqueWithCountsV2( x, axis, out_idx=tf.dtypes.int32, name=None ) This operation either returns a te...
tensorflow.raw_ops.uniquewithcountsv2
tf.raw_ops.Unpack Unpacks a given dimension of a rank-R tensor into num rank-(R-1) tensors. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.Unpack tf.raw_ops.Unpack( value, num, axis=0, name=None ) Unpacks num tensors from value by chipping it along the axi...
tensorflow.raw_ops.unpack
tf.raw_ops.UnravelIndex 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.raw_ops.UnravelIndex tf.raw_ops.UnravelIndex( indices, dims, name=None ) Example: y = tf.unravel_index(indices=[2, 5, 7], di...
tensorflow.raw_ops.unravelindex
tf.raw_ops.UnsortedSegmentJoin Joins the elements of inputs based on segment_ids. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnsortedSegmentJoin tf.raw_ops.UnsortedSegmentJoin( inputs, segment_ids, num_segments, separator='', name=None ) Computes the s...
tensorflow.raw_ops.unsortedsegmentjoin
tf.raw_ops.UnsortedSegmentMax Computes the maximum along segments of a tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnsortedSegmentMax tf.raw_ops.UnsortedSegmentMax( data, segment_ids, num_segments, name=None ) Read the section on segmentation ...
tensorflow.raw_ops.unsortedsegmentmax
tf.raw_ops.UnsortedSegmentMin Computes the minimum along segments of a tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnsortedSegmentMin tf.raw_ops.UnsortedSegmentMin( data, segment_ids, num_segments, name=None ) Read the section on segmentation ...
tensorflow.raw_ops.unsortedsegmentmin
tf.raw_ops.UnsortedSegmentProd Computes the product along segments of a tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnsortedSegmentProd tf.raw_ops.UnsortedSegmentProd( data, segment_ids, num_segments, name=None ) Read the section on segmentati...
tensorflow.raw_ops.unsortedsegmentprod
tf.raw_ops.UnsortedSegmentSum Computes the sum along segments of a tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnsortedSegmentSum tf.raw_ops.UnsortedSegmentSum( data, segment_ids, num_segments, name=None ) Read the section on segmentation for ...
tensorflow.raw_ops.unsortedsegmentsum
tf.raw_ops.Unstage Op is similar to a lightweight Dequeue. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.Unstage tf.raw_ops.Unstage( dtypes, capacity=0, memory_limit=0, container='', shared_name='', name=None ) The basic functionality is similar to de...
tensorflow.raw_ops.unstage
tf.raw_ops.UnwrapDatasetVariant View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UnwrapDatasetVariant tf.raw_ops.UnwrapDatasetVariant( input_handle, name=None ) Args input_handle A Tensor of type variant. name A name for the operation (optiona...
tensorflow.raw_ops.unwrapdatasetvariant
tf.raw_ops.UpperBound Applies upper_bound(sorted_search_values, values) along each row. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.UpperBound tf.raw_ops.UpperBound( sorted_inputs, values, out_type=tf.dtypes.int32, name=None ) Each set of rows with the ...
tensorflow.raw_ops.upperbound
tf.raw_ops.VarHandleOp Creates a handle to a Variable resource. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.VarHandleOp tf.raw_ops.VarHandleOp( dtype, shape, container='', shared_name='', allowed_devices=[], name=None ) Args dtype A tf.DTyp...
tensorflow.raw_ops.varhandleop
tf.raw_ops.Variable Use VariableV2 instead. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.Variable tf.raw_ops.Variable( shape, dtype, container='', shared_name='', name=None ) Args shape A tf.TensorShape or list of ints. dtype A tf.DType. ...
tensorflow.raw_ops.variable
tf.raw_ops.VariableShape Returns the shape of the variable pointed to by resource. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.VariableShape tf.raw_ops.VariableShape( input, out_type=tf.dtypes.int32, name=None ) This operation returns a 1-D integer tens...
tensorflow.raw_ops.variableshape
tf.raw_ops.VariableV2 Holds state in the form of a tensor that persists across steps. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.VariableV2 tf.raw_ops.VariableV2( shape, dtype, container='', shared_name='', name=None ) Outputs a ref to the tensor state...
tensorflow.raw_ops.variablev2
tf.raw_ops.VarIsInitializedOp Checks whether a resource handle-based variable has been initialized. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.VarIsInitializedOp tf.raw_ops.VarIsInitializedOp( resource, name=None ) Args resource A Tensor of ty...
tensorflow.raw_ops.varisinitializedop
tf.raw_ops.Where Returns locations of nonzero / true values in a tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.Where tf.raw_ops.Where( condition, name=None ) This operation returns the coordinates of true elements in condition. The coordinates are...
tensorflow.raw_ops.where
tf.raw_ops.While output = input; While (Cond(output)) { output = Body(output) } View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.While tf.raw_ops.While( input, cond, body, output_shapes=[], parallel_iterations=10, name=None ) Args input A list of Te...
tensorflow.raw_ops.while
tf.raw_ops.WholeFileReader A Reader that outputs the entire contents of a file as a value. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WholeFileReader tf.raw_ops.WholeFileReader( container='', shared_name='', name=None ) To use, enqueue filenames in a Q...
tensorflow.raw_ops.wholefilereader
tf.raw_ops.WholeFileReaderV2 A Reader that outputs the entire contents of a file as a value. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WholeFileReaderV2 tf.raw_ops.WholeFileReaderV2( container='', shared_name='', name=None ) To use, enqueue filenames ...
tensorflow.raw_ops.wholefilereaderv2
tf.raw_ops.WindowDataset Combines (nests of) input elements into a dataset of (nests of) windows. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WindowDataset tf.raw_ops.WindowDataset( input_dataset, size, shift, stride, drop_remainder, output_types, output...
tensorflow.raw_ops.windowdataset
tf.raw_ops.WorkerHeartbeat Worker heartbeat op. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WorkerHeartbeat tf.raw_ops.WorkerHeartbeat( request, name=None ) Heartbeats may be sent periodically to indicate the coordinator is still active, to retrieve the...
tensorflow.raw_ops.workerheartbeat
tf.raw_ops.WrapDatasetVariant View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WrapDatasetVariant tf.raw_ops.WrapDatasetVariant( input_handle, name=None ) Args input_handle A Tensor of type variant. name A name for the operation (optional). ...
tensorflow.raw_ops.wrapdatasetvariant
tf.raw_ops.WriteAudioSummary Writes an audio summary. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WriteAudioSummary tf.raw_ops.WriteAudioSummary( writer, step, tag, tensor, sample_rate, max_outputs=3, name=None ) Writes encoded audio summary tensor at s...
tensorflow.raw_ops.writeaudiosummary
tf.raw_ops.WriteFile Writes contents to the file at input filename. Creates file and recursively View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WriteFile tf.raw_ops.WriteFile( filename, contents, name=None ) creates directory if not existing. Args f...
tensorflow.raw_ops.writefile
tf.raw_ops.WriteGraphSummary Writes a graph summary. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WriteGraphSummary tf.raw_ops.WriteGraphSummary( writer, step, tensor, name=None ) Writes TensorFlow graph tensor at step using summary writer. Args w...
tensorflow.raw_ops.writegraphsummary
tf.raw_ops.WriteHistogramSummary Writes a histogram summary. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WriteHistogramSummary tf.raw_ops.WriteHistogramSummary( writer, step, tag, values, name=None ) Writes histogram values at step with tag using summar...
tensorflow.raw_ops.writehistogramsummary
tf.raw_ops.WriteImageSummary Writes an image summary. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WriteImageSummary tf.raw_ops.WriteImageSummary( writer, step, tag, tensor, bad_color, max_images=3, name=None ) Writes image tensor at step with tag using ...
tensorflow.raw_ops.writeimagesummary
tf.raw_ops.WriteRawProtoSummary Writes a serialized proto summary. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WriteRawProtoSummary tf.raw_ops.WriteRawProtoSummary( writer, step, tensor, name=None ) Writes tensor, a serialized proto at step using summar...
tensorflow.raw_ops.writerawprotosummary
tf.raw_ops.WriteScalarSummary Writes a scalar summary. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WriteScalarSummary tf.raw_ops.WriteScalarSummary( writer, step, tag, value, name=None ) Writes scalar value at step with tag using summary writer. Ar...
tensorflow.raw_ops.writescalarsummary
tf.raw_ops.WriteSummary Writes a tensor summary. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.WriteSummary tf.raw_ops.WriteSummary( writer, step, tensor, tag, summary_metadata, name=None ) Writes tensor at step with tag using summary writer. Args ...
tensorflow.raw_ops.writesummary
tf.raw_ops.Xdivy Returns 0 if x == 0, and x / y otherwise, elementwise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.Xdivy tf.raw_ops.Xdivy( x, y, name=None ) Args x A Tensor. Must be one of the following types: half, float32, float64, complex64...
tensorflow.raw_ops.xdivy
tf.raw_ops.Xlog1py Returns 0 if x == 0, and x * log1p(y) otherwise, elementwise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.Xlog1py tf.raw_ops.Xlog1py( x, y, name=None ) Args x A Tensor. Must be one of the following types: half, float32, float...
tensorflow.raw_ops.xlog1py
tf.raw_ops.Xlogy Returns 0 if x == 0, and x * log(y) otherwise, elementwise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.Xlogy tf.raw_ops.Xlogy( x, y, name=None ) Args x A Tensor. Must be one of the following types: half, float32, float64, comp...
tensorflow.raw_ops.xlogy
tf.raw_ops.ZerosLike Returns a tensor of zeros with the same shape and type as x. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.ZerosLike tf.raw_ops.ZerosLike( x, name=None ) Args x A Tensor. a tensor of type T. name A name for the operatio...
tensorflow.raw_ops.zeroslike
tf.raw_ops.Zeta Compute the Hurwitz zeta function \(\zeta(x, q)\). View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.Zeta tf.raw_ops.Zeta( x, q, name=None ) The Hurwitz zeta function is defined as: \(\zeta(x, q) = \sum_{n=0}^{\infty} (q + n)^{-x}\) Arg...
tensorflow.raw_ops.zeta
tf.raw_ops.ZipDataset Creates a dataset that zips together input_datasets. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.raw_ops.ZipDataset tf.raw_ops.ZipDataset( input_datasets, output_types, output_shapes, name=None ) The elements of the resulting dataset are c...
tensorflow.raw_ops.zipdataset
tf.realdiv Returns x / y element-wise for real types. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.realdiv tf.realdiv( x, y, name=None ) If x and y are reals, this will return the floating-point division. Note: Div supports broadcasting. More about broadcasting...
tensorflow.realdiv
tf.recompute_grad View source on GitHub An eager-compatible version of recompute_grad. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.recompute_grad tf.recompute_grad( f ) For f(*args, **kwargs), this supports gradients with respect to args or kwargs, but k...
tensorflow.recompute_grad
tf.RegisterGradient View source on GitHub A decorator for registering the gradient function for an op type. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.RegisterGradient tf.RegisterGradient( op_type ) This decorator is only used when defining a new op typ...
tensorflow.registergradient
tf.register_tensor_conversion_function View source on GitHub Registers a function for converting objects of base_type to Tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.register_tensor_conversion_function tf.register_tensor_conversion_function( base_t...
tensorflow.register_tensor_conversion_function
tf.repeat View source on GitHub Repeat elements of input. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.repeat tf.repeat( input, repeats, axis=None, name=None ) See also tf.concat, tf.stack, tf.tile. Args input An N-dimensional Tensor. repeats...
tensorflow.repeat
tf.required_space_to_batch_paddings View source on GitHub Calculate padding required to make block_shape divide input_shape. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.required_space_to_batch_paddings tf.required_space_to_batch_paddings( input_shape, blo...
tensorflow.required_space_to_batch_paddings
tf.reshape View source on GitHub Reshapes a tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.manip.reshape, tf.compat.v1.reshape tf.reshape( tensor, shape, name=None ) Given tensor, this operation returns a new tf.Tensor that has the same values as te...
tensorflow.reshape
tf.reverse Reverses specific dimensions of a tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.manip.reverse, tf.compat.v1.reverse, tf.compat.v1.reverse_v2 tf.reverse( tensor, axis, name=None ) NOTE tf.reverse has now changed behavior in preparation for 1.0. ...
tensorflow.reverse
tf.reverse_sequence View source on GitHub Reverses variable length slices. tf.reverse_sequence( input, seq_lengths, seq_axis=None, batch_axis=None, name=None ) This op first slices input along the dimension batch_axis, and for each slice i, reverses the first seq_lengths[i] elements along the dimension seq...
tensorflow.reverse_sequence
tf.roll View source on GitHub Rolls the elements of a tensor along an axis. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.manip.roll, tf.compat.v1.roll tf.roll( input, shift, axis, name=None ) The elements are shifted positively (towards larger indices) by...
tensorflow.roll
Module: tf.saved_model Public API for tf.saved_model namespace. Modules experimental module: Public API for tf.saved_model.experimental namespace. Classes class Asset: Represents a file asset to hermetically include in a SavedModel. class LoadOptions: Options for loading a SavedModel. class SaveOptions: Options for sav...
tensorflow.saved_model
tf.saved_model.Asset Represents a file asset to hermetically include in a SavedModel. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.Asset tf.saved_model.Asset( path ) A SavedModel can include arbitrary files, called assets, that are needed for its use...
tensorflow.saved_model.asset
tf.saved_model.contains_saved_model View source on GitHub Checks whether the provided export directory could contain a SavedModel. tf.saved_model.contains_saved_model( export_dir ) Note that the method does not load any data by itself. If the method returns false, the export directory definitely does not c...
tensorflow.saved_model.contains_saved_model
Module: tf.saved_model.experimental Public API for tf.saved_model.experimental namespace. Classes class VariablePolicy: Enum defining options for variable handling when saving.
tensorflow.saved_model.experimental
tf.saved_model.experimental.VariablePolicy Enum defining options for variable handling when saving. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.experimental.VariablePolicy NONE No policy applied: Distributed variables are saved as one variable, with no de...
tensorflow.saved_model.experimental.variablepolicy
tf.saved_model.load View source on GitHub Load a SavedModel from export_dir. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.load_v2 tf.saved_model.load( export_dir, tags=None, options=None ) Signatures associated with the SavedModel are availabl...
tensorflow.saved_model.load
tf.saved_model.LoadOptions Options for loading a SavedModel. tf.saved_model.LoadOptions( experimental_io_device=None ) This function may be used in the options argument in functions that load a SavedModel (tf.saved_model.load, tf.keras.models.load_model). Args experimental_io_device string. Applies in a ...
tensorflow.saved_model.loadoptions
tf.saved_model.save View source on GitHub Exports the Trackable object obj to SavedModel format. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.experimental.save, tf.compat.v1.saved_model.save tf.saved_model.save( obj, export_dir, signatures=None...
tensorflow.saved_model.save
tf.saved_model.SaveOptions Options for saving to SavedModel. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.saved_model.SaveOptions tf.saved_model.SaveOptions( namespace_whitelist=None, save_debug_info=False, function_aliases=None, experimental_io_device=None, ...
tensorflow.saved_model.saveoptions
tf.scan View source on GitHub scan on the list of tensors unpacked from elems on dimension 0. (deprecated argument values) tf.scan( fn, elems, initializer=None, parallel_iterations=10, back_prop=True, swap_memory=False, infer_shape=True, reverse=False, name=None ) Warning: SOME ARGUMENT VALUES ARE DEPR...
tensorflow.scan
tf.scatter_nd Scatter updates into a new tensor according to indices. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.manip.scatter_nd, tf.compat.v1.scatter_nd tf.scatter_nd( indices, updates, shape, name=None ) Creates a new tensor by applying sparse updates to in...
tensorflow.scatter_nd
tf.searchsorted View source on GitHub Searches input tensor for values on the innermost dimension. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.searchsorted tf.searchsorted( sorted_sequence, values, side='left', out_type=tf.dtypes.int32, name=None ) A...
tensorflow.searchsorted
tf.sequence_mask View source on GitHub Returns a mask tensor representing the first N positions of each cell. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.sequence_mask tf.sequence_mask( lengths, maxlen=None, dtype=tf.dtypes.bool, name=None ) If lengths h...
tensorflow.sequence_mask
Module: tf.sets Tensorflow set operations. Functions difference(...): Compute set difference of elements in last dimension of a and b. intersection(...): Compute set intersection of elements in last dimension of a and b. size(...): Compute number of unique elements along last dimension of a. union(...): Compute set uni...
tensorflow.sets
tf.sets.difference View source on GitHub Compute set difference of elements in last dimension of a and b. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.sets.difference, tf.compat.v1.sets.set_difference tf.sets.difference( a, b, aminusb=True, validate_indice...
tensorflow.sets.difference
tf.sets.intersection View source on GitHub Compute set intersection of elements in last dimension of a and b. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.sets.intersection, tf.compat.v1.sets.set_intersection tf.sets.intersection( a, b, validate_indices=Tr...
tensorflow.sets.intersection
tf.sets.size View source on GitHub Compute number of unique elements along last dimension of a. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.sets.set_size, tf.compat.v1.sets.size tf.sets.size( a, validate_indices=True ) Args a SparseTensor, with ...
tensorflow.sets.size
tf.sets.union View source on GitHub Compute set union of elements in last dimension of a and b. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.sets.set_union, tf.compat.v1.sets.union tf.sets.union( a, b, validate_indices=True ) All but the last dimension of...
tensorflow.sets.union
tf.shape View source on GitHub Returns a tensor containing the shape of the input tensor. tf.shape( input, out_type=tf.dtypes.int32, name=None ) See also tf.size, tf.rank. tf.shape returns a 1-D integer tensor representing the shape of input. For a scalar input, the tensor returned has a shape of (0,) and ...
tensorflow.shape
tf.shape_n View source on GitHub Returns shape of tensors. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.shape_n tf.shape_n( input, out_type=tf.dtypes.int32, name=None ) Args input A list of at least 1 Tensor object with the same type. out_typ...
tensorflow.shape_n
Module: tf.signal Signal processing operations. See the tf.signal guide. Functions dct(...): Computes the 1D [Discrete Cosine Transform (DCT)][dct] of input. fft(...): Fast Fourier transform. fft2d(...): 2D fast Fourier transform. fft3d(...): 3D fast Fourier transform. fftshift(...): Shift the zero-frequency component ...
tensorflow.signal
tf.signal.dct View source on GitHub Computes the 1D Discrete Cosine Transform (DCT) of input. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.signal.dct, tf.compat.v1.spectral.dct tf.signal.dct( input, type=2, n=None, axis=-1, norm=None, name=None ) Types I,...
tensorflow.signal.dct
tf.signal.fft Fast Fourier transform. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.fft, tf.compat.v1.signal.fft, tf.compat.v1.spectral.fft tf.signal.fft( input, name=None ) Computes the 1-dimensional discrete Fourier transform over the inner-most dimension of in...
tensorflow.signal.fft
tf.signal.fft2d 2D fast Fourier transform. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.fft2d, tf.compat.v1.signal.fft2d, tf.compat.v1.spectral.fft2d tf.signal.fft2d( input, name=None ) Computes the 2-dimensional discrete Fourier transform over the inner-most 2 ...
tensorflow.signal.fft2d
tf.signal.fft3d 3D fast Fourier transform. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.fft3d, tf.compat.v1.signal.fft3d, tf.compat.v1.spectral.fft3d tf.signal.fft3d( input, name=None ) Computes the 3-dimensional discrete Fourier transform over the inner-most 3 ...
tensorflow.signal.fft3d
tf.signal.fftshift View source on GitHub Shift the zero-frequency component to the center of the spectrum. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.signal.fftshift tf.signal.fftshift( x, axes=None, name=None ) This function swaps half-spaces for all a...
tensorflow.signal.fftshift
tf.signal.frame View source on GitHub Expands signal's axis dimension into frames of frame_length. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.signal.frame tf.signal.frame( signal, frame_length, frame_step, pad_end=False, pad_value=0, axis=-1, name=None )...
tensorflow.signal.frame
tf.signal.hamming_window View source on GitHub Generate a Hamming window. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.signal.hamming_window tf.signal.hamming_window( window_length, periodic=True, dtype=tf.dtypes.float32, name=None ) Args window_le...
tensorflow.signal.hamming_window
tf.signal.hann_window View source on GitHub Generate a Hann window. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.signal.hann_window tf.signal.hann_window( window_length, periodic=True, dtype=tf.dtypes.float32, name=None ) Args window_length A sca...
tensorflow.signal.hann_window
tf.signal.idct View source on GitHub Computes the 1D Inverse Discrete Cosine Transform (DCT) of input. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.signal.idct, tf.compat.v1.spectral.idct tf.signal.idct( input, type=2, n=None, axis=-1, norm=None, name=None...
tensorflow.signal.idct
tf.signal.ifft Inverse fast Fourier transform. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.ifft, tf.compat.v1.signal.ifft, tf.compat.v1.spectral.ifft tf.signal.ifft( input, name=None ) Computes the inverse 1-dimensional discrete Fourier transform over the inner...
tensorflow.signal.ifft
tf.signal.ifft2d Inverse 2D fast Fourier transform. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.ifft2d, tf.compat.v1.signal.ifft2d, tf.compat.v1.spectral.ifft2d tf.signal.ifft2d( input, name=None ) Computes the inverse 2-dimensional discrete Fourier transform o...
tensorflow.signal.ifft2d
tf.signal.ifft3d Inverse 3D fast Fourier transform. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.ifft3d, tf.compat.v1.signal.ifft3d, tf.compat.v1.spectral.ifft3d tf.signal.ifft3d( input, name=None ) Computes the inverse 3-dimensional discrete Fourier transform o...
tensorflow.signal.ifft3d
tf.signal.ifftshift View source on GitHub The inverse of fftshift. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.signal.ifftshift tf.signal.ifftshift( x, axes=None, name=None ) Although identical for even-length x, the functions differ by one sample for od...
tensorflow.signal.ifftshift
tf.signal.inverse_mdct Computes the inverse modified DCT of mdcts. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.signal.inverse_mdct tf.signal.inverse_mdct( mdcts, window_fn=tf.signal.vorbis_window, norm=None, name=None ) To reconstruct an original waveform, the ...
tensorflow.signal.inverse_mdct
tf.signal.inverse_stft View source on GitHub Computes the inverse Short-time Fourier Transform of stfts. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.signal.inverse_stft tf.signal.inverse_stft( stfts, frame_length, frame_step, fft_length=None, window_f...
tensorflow.signal.inverse_stft
tf.signal.inverse_stft_window_fn View source on GitHub Generates a window function that can be used in inverse_stft. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.signal.inverse_stft_window_fn tf.signal.inverse_stft_window_fn( frame_step, forward_window_fn=...
tensorflow.signal.inverse_stft_window_fn