Datasets:

Modalities:
Text
Formats:
json
Languages:
English
Tags:
code
Libraries:
Datasets
pandas
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
doc_content
stringlengths
1
386k
doc_id
stringlengths
5
188
tf.AggregationMethod View source on GitHub A class listing aggregation methods used to combine gradients. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.AggregationMethod Computing partial derivatives can require aggregating gradient contributions. This class lis...
tensorflow.aggregationmethod
tf.argsort View source on GitHub Returns the indices of a tensor that give its sorted order along an axis. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.argsort tf.argsort( values, axis=-1, direction='ASCENDING', stable=False, name=None ) For a 1D tensor, ...
tensorflow.argsort
Module: tf.audio Public API for tf.audio namespace. Functions decode_wav(...): Decode a 16-bit PCM WAV file to a float tensor. encode_wav(...): Encode audio data using the WAV file format.
tensorflow.audio
tf.audio.decode_wav Decode a 16-bit PCM WAV file to a float tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.audio.decode_wav tf.audio.decode_wav( contents, desired_channels=-1, desired_samples=-1, name=None ) The -32768 to 32767 signed 16-bit values will be...
tensorflow.audio.decode_wav
tf.audio.encode_wav Encode audio data using the WAV file format. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.audio.encode_wav tf.audio.encode_wav( audio, sample_rate, name=None ) This operation will generate a string suitable to be saved out to create a .wav au...
tensorflow.audio.encode_wav
Module: tf.autodiff Public API for tf.autodiff namespace. Classes class ForwardAccumulator: Computes Jacobian-vector products ("JVP"s) using forward-mode autodiff. class GradientTape: Record operations for automatic differentiation.
tensorflow.autodiff
tf.autodiff.ForwardAccumulator Computes Jacobian-vector products ("JVP"s) using forward-mode autodiff. tf.autodiff.ForwardAccumulator( primals, tangents ) Compare to tf.GradientTape which computes vector-Jacobian products ("VJP"s) using reverse-mode autodiff (backprop). Reverse mode is more attractive when comput...
tensorflow.autodiff.forwardaccumulator
Module: tf.autograph Conversion of plain Python into TensorFlow graph code. Note: In TensorFlow 2.0, AutoGraph is automatically applied when using tf.function. This module contains lower-level APIs for advanced use. For more information, see the AutoGraph guide. By equivalent graph code we mean code that generates a ...
tensorflow.autograph
Module: tf.autograph.experimental Public API for tf.autograph.experimental namespace. Classes class Feature: This enumeration represents optional conversion options. Functions do_not_convert(...): Decorator that suppresses the conversion of a function. set_loop_options(...): Specifies additional arguments to be passed ...
tensorflow.autograph.experimental
tf.autograph.experimental.do_not_convert View source on GitHub Decorator that suppresses the conversion of a function. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.autograph.experimental.do_not_convert tf.autograph.experimental.do_not_convert( func=None ) ...
tensorflow.autograph.experimental.do_not_convert
tf.autograph.experimental.Feature View source on GitHub This enumeration represents optional conversion options. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.autograph.experimental.Feature These conversion options are experimental. They are subject to change wi...
tensorflow.autograph.experimental.feature
tf.autograph.experimental.set_loop_options Specifies additional arguments to be passed to the enclosing while_loop. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.autograph.experimental.set_loop_options tf.autograph.experimental.set_loop_options( parallel_iteration...
tensorflow.autograph.experimental.set_loop_options
tf.autograph.set_verbosity View source on GitHub Sets the AutoGraph verbosity level. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.autograph.set_verbosity tf.autograph.set_verbosity( level, alsologtostdout=False ) Debug logging in AutoGraph More verbose lo...
tensorflow.autograph.set_verbosity
tf.autograph.to_code View source on GitHub Returns the source code generated by AutoGraph, as a string. tf.autograph.to_code( entity, recursive=True, experimental_optional_features=None ) Example usage: def f(x): if x < 0: x = -x return x tf.autograph.to_code(f) "...def tf__f(x):..." Also see: tf...
tensorflow.autograph.to_code
tf.autograph.to_graph View source on GitHub Converts a Python entity into a TensorFlow graph. tf.autograph.to_graph( entity, recursive=True, experimental_optional_features=None ) Also see: tf.autograph.to_code, tf.function. Unlike tf.function, to_graph is a low-level transpiler that converts Python code to...
tensorflow.autograph.to_graph
tf.autograph.trace View source on GitHub Traces argument information at compilation time. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.autograph.trace tf.autograph.trace( *args ) trace is useful when debugging, and it always executes during the tracing ph...
tensorflow.autograph.trace
tf.batch_to_space View source on GitHub BatchToSpace for N-D tensors of type T. tf.batch_to_space( input, block_shape, crops, name=None ) This operation reshapes the "batch" dimension 0 into M + 1 dimensions of shape block_shape + [batch], interleaves these blocks back into the grid defined by the spatial ...
tensorflow.batch_to_space
tf.bitcast Bitcasts a tensor from one type to another without copying data. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.bitcast tf.bitcast( input, type, name=None ) Given a tensor input, this operation returns a tensor that has the same buffer data as input wit...
tensorflow.bitcast
Module: tf.bitwise Operations for manipulating the binary representations of integers. Functions bitwise_and(...): Elementwise computes the bitwise AND of x and y. bitwise_or(...): Elementwise computes the bitwise OR of x and y. bitwise_xor(...): Elementwise computes the bitwise XOR of x and y. invert(...): Invert (fli...
tensorflow.bitwise
tf.bitwise.bitwise_and Elementwise computes the bitwise AND of x and y. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.bitwise.bitwise_and tf.bitwise.bitwise_and( x, y, name=None ) The result will have those bits set, that are set in both x and y. The computation ...
tensorflow.bitwise.bitwise_and
tf.bitwise.bitwise_or Elementwise computes the bitwise OR of x and y. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.bitwise.bitwise_or tf.bitwise.bitwise_or( x, y, name=None ) The result will have those bits set, that are set in x, y or both. The computation is p...
tensorflow.bitwise.bitwise_or
tf.bitwise.bitwise_xor Elementwise computes the bitwise XOR of x and y. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.bitwise.bitwise_xor tf.bitwise.bitwise_xor( x, y, name=None ) The result will have those bits set, that are different in x and y. The computation...
tensorflow.bitwise.bitwise_xor
tf.bitwise.invert Invert (flip) each bit of supported types; for example, type uint8 value 01010101 becomes 10101010. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.bitwise.invert tf.bitwise.invert( x, name=None ) Flip each bit of supported types. For example, typ...
tensorflow.bitwise.invert
tf.bitwise.left_shift Elementwise computes the bitwise left-shift of x and y. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.bitwise.left_shift tf.bitwise.left_shift( x, y, name=None ) If y is negative, or greater than or equal to the width of x in bits the result...
tensorflow.bitwise.left_shift
tf.bitwise.right_shift Elementwise computes the bitwise right-shift of x and y. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.bitwise.right_shift tf.bitwise.right_shift( x, y, name=None ) Performs a logical shift for unsigned integer types, and an arithmetic shif...
tensorflow.bitwise.right_shift
tf.boolean_mask View source on GitHub Apply boolean mask to tensor. tf.boolean_mask( tensor, mask, axis=None, name='boolean_mask' ) Numpy equivalent is tensor[mask]. In general, 0 < dim(mask) = K <= dim(tensor), and mask's shape must match the first K dimensions of tensor's shape. We then have: boolean_mas...
tensorflow.boolean_mask
tf.broadcast_dynamic_shape View source on GitHub Computes the shape of a broadcast given symbolic shapes. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.broadcast_dynamic_shape tf.broadcast_dynamic_shape( shape_x, shape_y ) When shape_x and shape_y are Tens...
tensorflow.broadcast_dynamic_shape
tf.broadcast_static_shape View source on GitHub Computes the shape of a broadcast given known shapes. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.broadcast_static_shape tf.broadcast_static_shape( shape_x, shape_y ) When shape_x and shape_y are fully know...
tensorflow.broadcast_static_shape
tf.broadcast_to Broadcast an array for a compatible shape. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.broadcast_to tf.broadcast_to( input, shape, name=None ) Broadcasting is the process of making arrays to have compatible shapes for arithmetic operations. Two ...
tensorflow.broadcast_to
tf.case View source on GitHub Create a case operation. tf.case( pred_fn_pairs, default=None, exclusive=False, strict=False, name='case' ) See also tf.switch_case. The pred_fn_pairs parameter is a list of pairs of size N. Each pair contains a boolean scalar tensor and a python callable that creates the ...
tensorflow.case
tf.cast View source on GitHub Casts a tensor to a new type. View aliases Main aliases tf.dtypes.cast Compat aliases for migration See Migration guide for more details. tf.compat.v1.cast, tf.compat.v1.dtypes.cast tf.cast( x, dtype, name=None ) The operation casts x (in case of Tensor) or x.values (in ca...
tensorflow.cast
tf.clip_by_global_norm View source on GitHub Clips values of multiple tensors by the ratio of the sum of their norms. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.clip_by_global_norm tf.clip_by_global_norm( t_list, clip_norm, use_norm=None, name=None ) Gi...
tensorflow.clip_by_global_norm
tf.clip_by_norm View source on GitHub Clips tensor values to a maximum L2-norm. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.clip_by_norm tf.clip_by_norm( t, clip_norm, axes=None, name=None ) Given a tensor t, and a maximum clip value clip_norm, this oper...
tensorflow.clip_by_norm
tf.clip_by_value View source on GitHub Clips tensor values to a specified min and max. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.clip_by_value tf.clip_by_value( t, clip_value_min, clip_value_max, name=None ) Given a tensor t, this operation returns a t...
tensorflow.clip_by_value
Module: tf.compat Compatibility functions. The tf.compat module contains two sets of compatibility functions. Tensorflow 1.x and 2.x APIs The compat.v1 and compat.v2 submodules provide a complete copy of both the v1 and v2 APIs for backwards and forwards compatibility across TensorFlow versions 1.x and 2.x. See the mig...
tensorflow.compat
tf.compat.as_bytes View source on GitHub Converts bytearray, bytes, or unicode python input types to bytes. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.compat.as_bytes tf.compat.as_bytes( bytes_or_text, encoding='utf-8' ) Uses utf-8 encoding for text by ...
tensorflow.compat.as_bytes
tf.compat.as_str View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.compat.as_str tf.compat.as_str( bytes_or_text, encoding='utf-8' )
tensorflow.compat.as_str
tf.compat.as_str_any View source on GitHub Converts input to str type. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.compat.as_str_any tf.compat.as_str_any( value ) Uses str(value), except for bytes typed inputs, which are converted using as_str. Args...
tensorflow.compat.as_str_any
tf.compat.as_text View source on GitHub Converts any string-like python input types to unicode. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.compat.as_text tf.compat.as_text( bytes_or_text, encoding='utf-8' ) Returns the input as a unicode string. Uses ut...
tensorflow.compat.as_text
tf.compat.dimension_at_index View source on GitHub Compatibility utility required to allow for both V1 and V2 behavior in TF. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.compat.dimension_at_index, tf.compat.v1.dimension_at_index tf.compat.dimension_at_index( ...
tensorflow.compat.dimension_at_index
tf.compat.dimension_value View source on GitHub Compatibility utility required to allow for both V1 and V2 behavior in TF. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.compat.dimension_value, tf.compat.v1.dimension_value tf.compat.dimension_value( dimensio...
tensorflow.compat.dimension_value
tf.compat.forward_compatibility_horizon View source on GitHub Context manager for testing forward compatibility of generated graphs. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.compat.forward_compatibility_horizon @tf_contextlib.contextmanager tf.compat.forwa...
tensorflow.compat.forward_compatibility_horizon
tf.compat.forward_compatible View source on GitHub Return true if the forward compatibility window has expired. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.compat.forward_compatible tf.compat.forward_compatible( year, month, day ) See Version compatibili...
tensorflow.compat.forward_compatible
tf.compat.path_to_str View source on GitHub Converts input which is a PathLike object to str type. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.compat.path_to_str tf.compat.path_to_str( path ) Converts from any python constant representation of a PathLi...
tensorflow.compat.path_to_str
Module: tf.compat.v1 View source on GitHub Bring in all of the public TensorFlow interface into this module. Modules app module: Generic entry point script. audio module: Public API for tf.audio namespace. autograph module: Conversion of plain Python into TensorFlow graph code. bitwise module: Operations for m...
tensorflow.compat.v1
tf.compat.v1.add_check_numerics_ops Connect a tf.debugging.check_numerics to every floating point tensor. tf.compat.v1.add_check_numerics_ops() check_numerics operations themselves are added for each half, float, or double tensor in the current default graph. For all ops in the graph, the check_numerics op for all of...
tensorflow.compat.v1.add_check_numerics_ops
tf.compat.v1.add_to_collection Wrapper for Graph.add_to_collection() using the default graph. tf.compat.v1.add_to_collection( name, value ) See tf.Graph.add_to_collection for more details. Args name The key for the collection. For example, the GraphKeys class contains many standard names for collections....
tensorflow.compat.v1.add_to_collection
tf.compat.v1.add_to_collections Wrapper for Graph.add_to_collections() using the default graph. tf.compat.v1.add_to_collections( names, value ) See tf.Graph.add_to_collections for more details. Args names The key for the collections. The GraphKeys class contains many standard names for collections. v...
tensorflow.compat.v1.add_to_collections
tf.compat.v1.all_variables Use tf.compat.v1.global_variables instead. (deprecated) tf.compat.v1.all_variables() Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2017-03-02. Instructions for updating: Please use tf.global_variables instead.
tensorflow.compat.v1.all_variables
Module: tf.compat.v1.app Generic entry point script. Modules flags module: Import router for absl.flags. See https://github.com/abseil/abseil-py Functions run(...): Runs the program with an optional 'main' function and 'argv' list.
tensorflow.compat.v1.app
tf.compat.v1.app.run Runs the program with an optional 'main' function and 'argv' list. tf.compat.v1.app.run( main=None, argv=None )
tensorflow.compat.v1.app.run
tf.compat.v1.argmax Returns the index with the largest value across axes of a tensor. (deprecated arguments) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.math.argmax tf.compat.v1.argmax( input, axis=None, name=None, dimension=None, output_type=tf.dtypes.int64 ) ...
tensorflow.compat.v1.argmax
tf.compat.v1.argmin Returns the index with the smallest value across axes of a tensor. (deprecated arguments) View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.math.argmin tf.compat.v1.argmin( input, axis=None, name=None, dimension=None, output_type=tf.dtypes.int64 ) ...
tensorflow.compat.v1.argmin
tf.compat.v1.arg_max Returns the index with the largest value across dimensions of a tensor. tf.compat.v1.arg_max( input, dimension, output_type=tf.dtypes.int64, name=None ) Note that in case of ties the identity of the return value is not guaranteed. Usage: import tensorflow as tf a = [1, 10, 26.9, 2.8, 166.32, ...
tensorflow.compat.v1.arg_max
tf.compat.v1.arg_min Returns the index with the smallest value across dimensions of a tensor. tf.compat.v1.arg_min( input, dimension, output_type=tf.dtypes.int64, name=None ) Note that in case of ties the identity of the return value is not guaranteed. Usage: import tensorflow as tf a = [1, 10, 26.9, 2.8, 166.32,...
tensorflow.compat.v1.arg_min
tf.compat.v1.assert_equal Assert the condition x == y holds element-wise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_equal tf.compat.v1.assert_equal( x, y, data=None, summarize=None, message=None, name=None ) This condition holds if for every ...
tensorflow.compat.v1.assert_equal
tf.compat.v1.assert_greater Assert the condition x > y holds element-wise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_greater tf.compat.v1.assert_greater( x, y, data=None, summarize=None, message=None, name=None ) This condition holds if for e...
tensorflow.compat.v1.assert_greater
tf.compat.v1.assert_greater_equal Assert the condition x >= y holds element-wise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_greater_equal tf.compat.v1.assert_greater_equal( x, y, data=None, summarize=None, message=None, name=None ) This condi...
tensorflow.compat.v1.assert_greater_equal
tf.compat.v1.assert_integer Assert that x is of integer dtype. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_integer tf.compat.v1.assert_integer( x, message=None, name=None ) Example of adding a dependency to an operation: with tf.control_depende...
tensorflow.compat.v1.assert_integer
tf.compat.v1.assert_less Assert the condition x < y holds element-wise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_less tf.compat.v1.assert_less( x, y, data=None, summarize=None, message=None, name=None ) This condition holds if for every pair...
tensorflow.compat.v1.assert_less
tf.compat.v1.assert_less_equal Assert the condition x <= y holds element-wise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_less_equal tf.compat.v1.assert_less_equal( x, y, data=None, summarize=None, message=None, name=None ) This condition hold...
tensorflow.compat.v1.assert_less_equal
tf.compat.v1.assert_near Assert the condition x and y are close element-wise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_near tf.compat.v1.assert_near( x, y, rtol=None, atol=None, data=None, summarize=None, message=None, name=None ) Example of...
tensorflow.compat.v1.assert_near
tf.compat.v1.assert_negative Assert the condition x < 0 holds element-wise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_negative tf.compat.v1.assert_negative( x, data=None, summarize=None, message=None, name=None ) When running in graph mode, y...
tensorflow.compat.v1.assert_negative
tf.compat.v1.assert_none_equal Assert the condition x != y holds element-wise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_none_equal tf.compat.v1.assert_none_equal( x, y, data=None, summarize=None, message=None, name=None ) This condition hold...
tensorflow.compat.v1.assert_none_equal
tf.compat.v1.assert_non_negative Assert the condition x >= 0 holds element-wise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_non_negative tf.compat.v1.assert_non_negative( x, data=None, summarize=None, message=None, name=None ) When running in ...
tensorflow.compat.v1.assert_non_negative
tf.compat.v1.assert_non_positive Assert the condition x <= 0 holds element-wise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_non_positive tf.compat.v1.assert_non_positive( x, data=None, summarize=None, message=None, name=None ) When running in ...
tensorflow.compat.v1.assert_non_positive
tf.compat.v1.assert_positive Assert the condition x > 0 holds element-wise. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_positive tf.compat.v1.assert_positive( x, data=None, summarize=None, message=None, name=None ) When running in graph mode, y...
tensorflow.compat.v1.assert_positive
tf.compat.v1.assert_rank Assert x has rank equal to rank. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_rank tf.compat.v1.assert_rank( x, rank, data=None, summarize=None, message=None, name=None ) Example of adding a dependency to an operation: w...
tensorflow.compat.v1.assert_rank
tf.compat.v1.assert_rank_at_least Assert x has rank equal to rank or higher. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_rank_at_least tf.compat.v1.assert_rank_at_least( x, rank, data=None, summarize=None, message=None, name=None ) Example of a...
tensorflow.compat.v1.assert_rank_at_least
tf.compat.v1.assert_rank_in Assert x has rank in ranks. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_rank_in tf.compat.v1.assert_rank_in( x, ranks, data=None, summarize=None, message=None, name=None ) Example of adding a dependency to an operati...
tensorflow.compat.v1.assert_rank_in
tf.compat.v1.assert_scalar Asserts that the given tensor is a scalar (i.e. zero-dimensional). View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_scalar tf.compat.v1.assert_scalar( tensor, name=None, message=None ) This function raises ValueError unles...
tensorflow.compat.v1.assert_scalar
tf.compat.v1.assert_type Statically asserts that the given Tensor is of the specified type. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.debugging.assert_type tf.compat.v1.assert_type( tensor, tf_type, message=None, name=None ) Args tensor A Tensor or S...
tensorflow.compat.v1.assert_type
tf.compat.v1.assert_variables_initialized Returns an Op to check if variables are initialized. tf.compat.v1.assert_variables_initialized( var_list=None ) Note: This function is obsolete and will be removed in 6 months. Please change your implementation to use report_uninitialized_variables(). When run, the retu...
tensorflow.compat.v1.assert_variables_initialized
tf.compat.v1.assign Update ref by assigning value to it. tf.compat.v1.assign( ref, value, validate_shape=None, use_locking=None, name=None ) This operation outputs a Tensor that holds the new value of ref after the value has been assigned. This makes it easier to chain operations that need to use the reset value....
tensorflow.compat.v1.assign
tf.compat.v1.assign_add Update ref by adding value to it. tf.compat.v1.assign_add( ref, value, use_locking=None, name=None ) This operation outputs "ref" after the update is done. This makes it easier to chain operations that need to use the reset value. Unlike tf.math.add, this op does not broadcast. ref and val...
tensorflow.compat.v1.assign_add
tf.compat.v1.assign_sub Update ref by subtracting value from it. tf.compat.v1.assign_sub( ref, value, use_locking=None, name=None ) This operation outputs ref after the update is done. This makes it easier to chain operations that need to use the reset value. Unlike tf.math.subtract, this op does not broadcast. r...
tensorflow.compat.v1.assign_sub
tf.compat.v1.AttrValue A ProtocolMessage Attributes b bool b f float f func NameAttrList func i int64 i list ListValue list placeholder string placeholder s bytes s shape TensorShapeProto shape tensor TensorProto tensor type DataType type Child Classes c...
tensorflow.compat.v1.attrvalue
tf.compat.v1.AttrValue.ListValue A ProtocolMessage Attributes b repeated bool b f repeated float f func repeated NameAttrList func i repeated int64 i s repeated bytes s shape repeated TensorShapeProto shape tensor repeated TensorProto tensor type repeated DataType type
tensorflow.compat.v1.attrvalue.listvalue
Module: tf.compat.v1.audio Public API for tf.audio namespace. Functions decode_wav(...): Decode a 16-bit PCM WAV file to a float tensor. encode_wav(...): Encode audio data using the WAV file format.
tensorflow.compat.v1.audio
Module: tf.compat.v1.autograph Conversion of plain Python into TensorFlow graph code. Note: In TensorFlow 2.0, AutoGraph is automatically applied when using tf.function. This module contains lower-level APIs for advanced use. For more information, see the AutoGraph guide. By equivalent graph code we mean code that ge...
tensorflow.compat.v1.autograph
Module: tf.compat.v1.autograph.experimental Public API for tf.autograph.experimental namespace. Classes class Feature: This enumeration represents optional conversion options. Functions do_not_convert(...): Decorator that suppresses the conversion of a function. set_loop_options(...): Specifies additional arguments to ...
tensorflow.compat.v1.autograph.experimental
tf.compat.v1.autograph.to_code Returns the source code generated by AutoGraph, as a string. tf.compat.v1.autograph.to_code( entity, recursive=True, arg_values=None, arg_types=None, indentation=' ', experimental_optional_features=None ) Example usage: def f(x): if x < 0: x = -x return x tf.autograph.t...
tensorflow.compat.v1.autograph.to_code
tf.compat.v1.autograph.to_graph Converts a Python entity into a TensorFlow graph. tf.compat.v1.autograph.to_graph( entity, recursive=True, arg_values=None, arg_types=None, experimental_optional_features=None ) Also see: tf.autograph.to_code, tf.function. Unlike tf.function, to_graph is a low-level transpiler ...
tensorflow.compat.v1.autograph.to_graph
tf.compat.v1.batch_gather Gather slices from params according to indices with leading batch dims. (deprecated) tf.compat.v1.batch_gather( params, indices, name=None ) Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2017-10-25. Instructions for updating: tf.batch_gather is deprecated, please use tf....
tensorflow.compat.v1.batch_gather
tf.compat.v1.batch_scatter_update Generalization of tf.compat.v1.scatter_update to axis different than 0. (deprecated) tf.compat.v1.batch_scatter_update( ref, indices, updates, use_locking=True, name=None ) Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2018-11-29. Instructions for updating: Use t...
tensorflow.compat.v1.batch_scatter_update
tf.compat.v1.batch_to_space BatchToSpace for 4-D tensors of type T. tf.compat.v1.batch_to_space( input, crops, block_size, name=None, block_shape=None ) This is a legacy version of the more general BatchToSpaceND. Rearranges (permutes) data from batch into blocks of spatial data, followed by cropping. This is the...
tensorflow.compat.v1.batch_to_space
tf.compat.v1.batch_to_space_nd BatchToSpace for N-D tensors of type T. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.manip.batch_to_space_nd tf.compat.v1.batch_to_space_nd( input, block_shape, crops, name=None ) This operation reshapes the "batch" dimension 0 int...
tensorflow.compat.v1.batch_to_space_nd
tf.compat.v1.bincount Counts the number of occurrences of each value in an integer array. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.math.bincount tf.compat.v1.bincount( arr, weights=None, minlength=None, maxlength=None, dtype=tf.dtypes.int32 ) If minlength an...
tensorflow.compat.v1.bincount
Module: tf.compat.v1.bitwise Operations for manipulating the binary representations of integers. Functions bitwise_and(...): Elementwise computes the bitwise AND of x and y. bitwise_or(...): Elementwise computes the bitwise OR of x and y. bitwise_xor(...): Elementwise computes the bitwise XOR of x and y. invert(...): I...
tensorflow.compat.v1.bitwise
tf.compat.v1.boolean_mask Apply boolean mask to tensor. tf.compat.v1.boolean_mask( tensor, mask, name='boolean_mask', axis=None ) Numpy equivalent is tensor[mask]. In general, 0 < dim(mask) = K <= dim(tensor), and mask's shape must match the first K dimensions of tensor's shape. We then have: boolean_mask(tensor,...
tensorflow.compat.v1.boolean_mask
tf.compat.v1.case Create a case operation. tf.compat.v1.case( pred_fn_pairs, default=None, exclusive=False, strict=False, name='case' ) See also tf.switch_case. The pred_fn_pairs parameter is a dict or list of pairs of size N. Each pair contains a boolean scalar tensor and a python callable that creates the t...
tensorflow.compat.v1.case
tf.compat.v1.clip_by_average_norm Clips tensor values to a maximum average L2-norm. (deprecated) tf.compat.v1.clip_by_average_norm( t, clip_norm, name=None ) Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: clip_by_average_norm is deprecated in TensorFlow 2....
tensorflow.compat.v1.clip_by_average_norm
tf.compat.v1.colocate_with DEPRECATED FUNCTION tf.compat.v1.colocate_with( op, ignore_existing=False ) Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Colocations handled automatically by placer.
tensorflow.compat.v1.colocate_with
Module: tf.compat.v1.compat Compatibility functions. The tf.compat module contains two sets of compatibility functions. Tensorflow 1.x and 2.x APIs The compat.v1 and compat.v2 submodules provide a complete copy of both the v1 and v2 APIs for backwards and forwards compatibility across TensorFlow versions 1.x and 2.x. S...
tensorflow.compat.v1.compat
tf.compat.v1.cond Return true_fn() if the predicate pred is true else false_fn(). (deprecated arguments) tf.compat.v1.cond( pred, true_fn=None, false_fn=None, strict=False, name=None, fn1=None, fn2=None ) Warning: SOME ARGUMENTS ARE DEPRECATED: (fn1, fn2). They will be removed in a future version. Instructions fo...
tensorflow.compat.v1.cond
tf.compat.v1.ConditionalAccumulator A conditional accumulator for aggregating gradients. Inherits From: ConditionalAccumulatorBase tf.compat.v1.ConditionalAccumulator( dtype, shape=None, shared_name=None, name='conditional_accumulator', reduction_type='MEAN' ) Up-to-date gradients (i.e., time step at which gr...
tensorflow.compat.v1.conditionalaccumulator
tf.compat.v1.ConditionalAccumulatorBase A conditional accumulator for aggregating gradients. tf.compat.v1.ConditionalAccumulatorBase( dtype, shape, accumulator_ref ) Up-to-date gradients (i.e., time step at which gradient was computed is equal to the accumulator's time step) are added to the accumulator. Extracti...
tensorflow.compat.v1.conditionalaccumulatorbase
Module: tf.compat.v1.config Public API for tf.config namespace. Modules experimental module: Public API for tf.config.experimental namespace. optimizer module: Public API for tf.config.optimizer namespace. threading module: Public API for tf.config.threading namespace. Classes class LogicalDevice: Abstraction for a log...
tensorflow.compat.v1.config
Module: tf.compat.v1.config.experimental Public API for tf.config.experimental namespace. Classes class ClusterDeviceFilters: Represent a collection of device filters for the remote workers in cluster. class VirtualDeviceConfiguration: Configuration class for a logical devices. Functions disable_mlir_bridge(...): Disab...
tensorflow.compat.v1.config.experimental
Module: tf.compat.v1.config.optimizer Public API for tf.config.optimizer namespace. Functions get_experimental_options(...): Get experimental optimizer options. get_jit(...): Get if JIT compilation is enabled. set_experimental_options(...): Set experimental optimizer options. set_jit(...): Set if JIT compilation is ena...
tensorflow.compat.v1.config.optimizer
End of preview. Expand in Data Studio

The library documentation retrieval source for code-rag-bench, contains all documentation for Python libraries available on devdocs.io.

Downloads last month
53

Collection including code-rag-bench/library-documentation