doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
tf.compat.v1.flags.register_validator Adds a constraint, which will be enforced during program execution. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.register_validator
tf.compat.v1.flags.register_validator(
flag_name, checker, message='Flag validation... | tensorflow.compat.v1.flags.register_validator |
tf.compat.v1.flags.text_wrap Wraps a given text to a maximum line length and returns it. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.text_wrap
tf.compat.v1.flags.text_wrap(
text, length=None, indent='', firstline_indent=None
)
It turns lines that only... | tensorflow.compat.v1.flags.text_wrap |
Module: tf.compat.v1.flags.tf_decorator Base TFDecorator class and utility functions for working with decorators. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator There are two ways to create decorators that TensorFlow can introspect into. This is i... | tensorflow.compat.v1.flags.tf_decorator |
tf.compat.v1.flags.tf_decorator.make_decorator Make a decorator from a wrapper and a target. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator.make_decorator
tf.compat.v1.flags.tf_decorator.make_decorator(
target, decorator_func, decorator_name=... | tensorflow.compat.v1.flags.tf_decorator.make_decorator |
tf.compat.v1.flags.tf_decorator.rewrap Injects a new target into a function built by make_decorator. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator.rewrap
tf.compat.v1.flags.tf_decorator.rewrap(
decorator_func, previous_target, new_target
)
... | tensorflow.compat.v1.flags.tf_decorator.rewrap |
tf.compat.v1.flags.tf_decorator.TFDecorator Base class for all TensorFlow decorators. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator.TFDecorator
tf.compat.v1.flags.tf_decorator.TFDecorator(
decorator_name, target, decorator_doc='', decorator_... | tensorflow.compat.v1.flags.tf_decorator.tfdecorator |
Module: tf.compat.v1.flags.tf_decorator.tf_stack Functions used to extract and analyze stacks. Faster than Python libs. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator.tf_stack Classes class CurrentModuleFilter: Filters stack frames from the module... | tensorflow.compat.v1.flags.tf_decorator.tf_stack |
tf.compat.v1.flags.tf_decorator.tf_stack.CurrentModuleFilter Filters stack frames from the module where this is used (best effort). Inherits From: StackTraceFilter, StackTraceTransform View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator.tf_stack.Current... | tensorflow.compat.v1.flags.tf_decorator.tf_stack.currentmodulefilter |
tf.compat.v1.flags.tf_decorator.tf_stack.extract_stack A lightweight, extensible re-implementation of traceback.extract_stack. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator.tf_stack.extract_stack
tf.compat.v1.flags.tf_decorator.tf_stack.extract_... | tensorflow.compat.v1.flags.tf_decorator.tf_stack.extract_stack |
tf.compat.v1.flags.tf_decorator.tf_stack.FrameSummary View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator.tf_stack.FrameSummary
tf.compat.v1.flags.tf_decorator.tf_stack.FrameSummary(
*args, **kwargs
)
Attributes
filename
line
l... | tensorflow.compat.v1.flags.tf_decorator.tf_stack.framesummary |
tf.compat.v1.flags.tf_decorator.tf_stack.StackSummary View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator.tf_stack.StackSummary
tf.compat.v1.flags.tf_decorator.tf_stack.StackSummary()
Methods append
append()
append(self: tensorflow.python._tf_stack... | tensorflow.compat.v1.flags.tf_decorator.tf_stack.stacksummary |
tf.compat.v1.flags.tf_decorator.tf_stack.StackTraceFilter Allows filtering traceback information by removing superfluous frames. Inherits From: StackTraceTransform View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator.tf_stack.StackTraceFilter Methods ge... | tensorflow.compat.v1.flags.tf_decorator.tf_stack.stacktracefilter |
tf.compat.v1.flags.tf_decorator.tf_stack.StackTraceMapper Allows remapping traceback information to different source code. Inherits From: StackTraceTransform View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator.tf_stack.StackTraceMapper Methods get_effe... | tensorflow.compat.v1.flags.tf_decorator.tf_stack.stacktracemapper |
tf.compat.v1.flags.tf_decorator.tf_stack.StackTraceTransform Base class for stack trace transformation functions. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator.tf_stack.StackTraceTransform Methods reset View source
reset()
__enter__ View source... | tensorflow.compat.v1.flags.tf_decorator.tf_stack.stacktracetransform |
tf.compat.v1.flags.tf_decorator.unwrap Unwraps an object into a list of TFDecorators and a final target. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.tf_decorator.unwrap
tf.compat.v1.flags.tf_decorator.unwrap(
maybe_tf_decorator
)
Args
maybe_tf_... | tensorflow.compat.v1.flags.tf_decorator.unwrap |
tf.compat.v1.flags.UnparsedFlagAccessError Raised when accessing the flag value from unparsed FlagValues. Inherits From: Error View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.UnparsedFlagAccessError | tensorflow.compat.v1.flags.unparsedflagaccesserror |
tf.compat.v1.flags.UnrecognizedFlagError Raised when a flag is unrecognized. Inherits From: Error View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.UnrecognizedFlagError
tf.compat.v1.flags.UnrecognizedFlagError(
flagname, flagvalue='', suggestions=None
)
... | tensorflow.compat.v1.flags.unrecognizedflagerror |
tf.compat.v1.flags.ValidationError Raised when flag validator constraint is not satisfied. Inherits From: Error View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.ValidationError | tensorflow.compat.v1.flags.validationerror |
tf.compat.v1.flags.validator A function decorator for defining a flag validator. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.validator
tf.compat.v1.flags.validator(
flag_name, message='Flag validation failed',
flag_values=_flagvalues.FLAGS
)
Regis... | tensorflow.compat.v1.flags.validator |
tf.compat.v1.flags.WhitespaceSeparatedListParser Parser for a whitespace-separated list of strings. Inherits From: BaseListParser, ArgumentParser View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.app.flags.WhitespaceSeparatedListParser
tf.compat.v1.flags.WhitespaceSeparat... | tensorflow.compat.v1.flags.whitespaceseparatedlistparser |
tf.compat.v1.floor_div Returns x // y element-wise.
tf.compat.v1.floor_div(
x, y, name=None
)
Note: floor_div supports broadcasting. More about broadcasting here
Args
x A Tensor. Must be one of the following types: bfloat16, half, float32, float64, uint8, int8, uint16, int16, int32, int64, complex64, c... | tensorflow.compat.v1.floor_div |
tf.compat.v1.foldl foldl on the list of tensors unpacked from elems on dimension 0.
tf.compat.v1.foldl(
fn, elems, initializer=None, parallel_iterations=10, back_prop=True,
swap_memory=False, name=None
)
This foldl operator repeatedly applies the callable fn to a sequence of elements from first to last. The e... | tensorflow.compat.v1.foldl |
tf.compat.v1.foldr foldr on the list of tensors unpacked from elems on dimension 0.
tf.compat.v1.foldr(
fn, elems, initializer=None, parallel_iterations=10, back_prop=True,
swap_memory=False, name=None
)
This foldr operator repeatedly applies the callable fn to a sequence of elements from last to first. The e... | tensorflow.compat.v1.foldr |
tf.compat.v1.gather Gather slices from params axis axis according to indices.
tf.compat.v1.gather(
params, indices, validate_indices=None, name=None, axis=None, batch_dims=0
)
Gather slices from params axis axis according to indices. indices must be an integer tensor of any dimension (usually 0-D or 1-D). For 0... | tensorflow.compat.v1.gather |
tf.compat.v1.gather_nd Gather slices from params into a Tensor with shape specified by indices. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.manip.gather_nd
tf.compat.v1.gather_nd(
params, indices, name=None, batch_dims=0
)
indices is an K-dimensional integer ... | tensorflow.compat.v1.gather_nd |
tf.compat.v1.get_collection Wrapper for Graph.get_collection() using the default graph.
tf.compat.v1.get_collection(
key, scope=None
)
See tf.Graph.get_collection for more details.
Args
key The key for the collection. For example, the GraphKeys class contains many standard names for collections.
scop... | tensorflow.compat.v1.get_collection |
tf.compat.v1.get_collection_ref Wrapper for Graph.get_collection_ref() using the default graph.
tf.compat.v1.get_collection_ref(
key
)
See tf.Graph.get_collection_ref for more details.
Args
key The key for the collection. For example, the GraphKeys class contains many standard names for collections.
... | tensorflow.compat.v1.get_collection_ref |
tf.compat.v1.get_default_graph Returns the default graph for the current thread.
tf.compat.v1.get_default_graph()
The returned graph will be the innermost graph on which a Graph.as_default() context has been entered, or a global default graph if none has been explicitly created.
Note: The default graph is a property... | tensorflow.compat.v1.get_default_graph |
tf.compat.v1.get_default_session Returns the default session for the current thread.
tf.compat.v1.get_default_session()
The returned Session will be the innermost session on which a Session or Session.as_default() context has been entered.
Note: The default session is a property of the current thread. If you create ... | tensorflow.compat.v1.get_default_session |
tf.compat.v1.get_local_variable Gets an existing local variable or creates a new one.
tf.compat.v1.get_local_variable(
name, shape=None, dtype=None, initializer=None, regularizer=None,
trainable=False, collections=None, caching_device=None, partitioner=None,
validate_shape=True, use_resource=None, custom_g... | tensorflow.compat.v1.get_local_variable |
tf.compat.v1.get_seed Returns the local seeds an operation should use given an op-specific seed. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.random.get_seed
tf.compat.v1.get_seed(
op_seed
)
Given operation-specific seed, op_seed, this helper function returns tw... | tensorflow.compat.v1.get_seed |
tf.compat.v1.get_session_handle Return the handle of data.
tf.compat.v1.get_session_handle(
data, name=None
)
This is EXPERIMENTAL and subject to change. Keep data "in-place" in the runtime and create a handle that can be used to retrieve data in a subsequent run(). Combined with get_session_tensor, we can keep a... | tensorflow.compat.v1.get_session_handle |
tf.compat.v1.get_session_tensor Get the tensor of type dtype by feeding a tensor handle.
tf.compat.v1.get_session_tensor(
handle, dtype, name=None
)
This is EXPERIMENTAL and subject to change. Get the value of the tensor from a tensor handle. The tensor is produced in a previous run() and stored in the state of t... | tensorflow.compat.v1.get_session_tensor |
tf.compat.v1.get_variable Gets an existing variable with these parameters or create a new one.
tf.compat.v1.get_variable(
name, shape=None, dtype=None, initializer=None, regularizer=None,
trainable=None, collections=None, caching_device=None, partitioner=None,
validate_shape=True, use_resource=None, custom... | tensorflow.compat.v1.get_variable |
tf.compat.v1.get_variable_scope Returns the current variable scope.
tf.compat.v1.get_variable_scope() | tensorflow.compat.v1.get_variable_scope |
Module: tf.compat.v1.gfile Import router for file_io. Classes class FastGFile: File I/O wrappers without thread locking. class GFile: File I/O wrappers without thread locking. class Open: File I/O wrappers without thread locking. Functions Copy(...): Copies data from oldpath to newpath. DeleteRecursively(...): Deletes ... | tensorflow.compat.v1.gfile |
tf.compat.v1.gfile.Copy Copies data from oldpath to newpath.
tf.compat.v1.gfile.Copy(
oldpath, newpath, overwrite=False
)
Args
oldpath string, name of the file who's contents need to be copied
newpath string, name of the file to which to copy to
overwrite boolean, if false it's an error for n... | tensorflow.compat.v1.gfile.copy |
tf.compat.v1.gfile.DeleteRecursively Deletes everything under dirname recursively.
tf.compat.v1.gfile.DeleteRecursively(
dirname
)
Args
dirname string, a path to a directory
Raises
errors.OpError If the operation fails. | tensorflow.compat.v1.gfile.deleterecursively |
tf.compat.v1.gfile.Exists Determines whether a path exists or not.
tf.compat.v1.gfile.Exists(
filename
)
Args
filename string, a path
Returns True if the path exists, whether it's a file or a directory. False if the path does not exist and there are no filesystem errors.
Raises
errors... | tensorflow.compat.v1.gfile.exists |
tf.compat.v1.gfile.FastGFile File I/O wrappers without thread locking.
tf.compat.v1.gfile.FastGFile(
name, mode='r'
)
Note, that this is somewhat like builtin Python file I/O, but there are semantic differences to make it more efficient for some backing filesystems. For example, a write mode file will not be open... | tensorflow.compat.v1.gfile.fastgfile |
tf.compat.v1.gfile.Glob Returns a list of files that match the given pattern(s).
tf.compat.v1.gfile.Glob(
filename
)
Args
filename string or iterable of strings. The glob pattern(s).
Returns A list of strings containing filenames that match the given pattern(s).
Raises
errors.OpError:... | tensorflow.compat.v1.gfile.glob |
tf.compat.v1.gfile.IsDirectory Returns whether the path is a directory or not.
tf.compat.v1.gfile.IsDirectory(
dirname
)
Args
dirname string, path to a potential directory
Returns True, if the path is a directory; False otherwise | tensorflow.compat.v1.gfile.isdirectory |
tf.compat.v1.gfile.ListDirectory Returns a list of entries contained within a directory.
tf.compat.v1.gfile.ListDirectory(
dirname
)
The list is in arbitrary order. It does not contain the special entries "." and "..".
Args
dirname string, path to a directory
Returns [filename1, filename2, ... ... | tensorflow.compat.v1.gfile.listdirectory |
tf.compat.v1.gfile.MakeDirs Creates a directory and all parent/intermediate directories.
tf.compat.v1.gfile.MakeDirs(
dirname
)
It succeeds if dirname already exists and is writable.
Args
dirname string, name of the directory to be created
Raises
errors.OpError If the operation fails. | tensorflow.compat.v1.gfile.makedirs |
tf.compat.v1.gfile.MkDir Creates a directory with the name dirname.
tf.compat.v1.gfile.MkDir(
dirname
)
Args
dirname string, name of the directory to be created Notes: The parent directories need to exist. Use tf.io.gfile.makedirs instead if there is the possibility that the parent dirs don't exist.
... | tensorflow.compat.v1.gfile.mkdir |
tf.compat.v1.gfile.Remove Deletes the file located at 'filename'.
tf.compat.v1.gfile.Remove(
filename
)
Args
filename string, a filename
Raises
errors.OpError Propagates any errors reported by the FileSystem API. E.g., NotFoundError if the file does not exist. | tensorflow.compat.v1.gfile.remove |
tf.compat.v1.gfile.Rename Rename or move a file / directory.
tf.compat.v1.gfile.Rename(
oldname, newname, overwrite=False
)
Args
oldname string, pathname for a file
newname string, pathname to which the file needs to be moved
overwrite boolean, if false it's an error for newname to be occupie... | tensorflow.compat.v1.gfile.rename |
tf.compat.v1.gfile.Stat Returns file statistics for a given path.
tf.compat.v1.gfile.Stat(
filename
)
Args
filename string, path to a file
Returns FileStatistics struct that contains information about the path
Raises
errors.OpError If the operation fails. | tensorflow.compat.v1.gfile.stat |
tf.compat.v1.gfile.Walk Recursive directory tree generator for directories.
tf.compat.v1.gfile.Walk(
top, in_order=True
)
Args
top string, a Directory name
in_order bool, Traverse in order if True, post order if False. Errors that happen while listing directories are ignored.
Yields Each ... | tensorflow.compat.v1.gfile.walk |
tf.compat.v1.global_variables Returns global variables.
tf.compat.v1.global_variables(
scope=None
)
Global variables are variables that are shared across machines in a distributed environment. The Variable() constructor or get_variable() automatically adds new variables to the graph collection GraphKeys.GLOBAL_VA... | tensorflow.compat.v1.global_variables |
tf.compat.v1.global_variables_initializer Returns an Op that initializes global variables. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.initializers.global_variables
tf.compat.v1.global_variables_initializer()
This is just a shortcut for variables_initializer(global... | tensorflow.compat.v1.global_variables_initializer |
tf.compat.v1.GPUOptions A ProtocolMessage
Attributes
allocator_type string allocator_type
allow_growth bool allow_growth
deferred_deletion_bytes int64 deferred_deletion_bytes
experimental Experimental experimental
force_gpu_compatible bool force_gpu_compatible
per_process_gpu_memory... | tensorflow.compat.v1.gpuoptions |
tf.compat.v1.GPUOptions.Experimental A ProtocolMessage
Attributes
collective_ring_order string collective_ring_order
kernel_tracker_max_bytes int32 kernel_tracker_max_bytes
kernel_tracker_max_interval int32 kernel_tracker_max_interval
kernel_tracker_max_pending int32 kernel_tracker_max_pendin... | tensorflow.compat.v1.gpuoptions.experimental |
tf.compat.v1.GPUOptions.Experimental.VirtualDevices A ProtocolMessage
Attributes
memory_limit_mb repeated float memory_limit_mb
priority repeated int32 priority | tensorflow.compat.v1.gpuoptions.experimental.virtualdevices |
tf.compat.v1.gradients Constructs symbolic derivatives of sum of ys w.r.t. x in xs.
tf.compat.v1.gradients(
ys, xs, grad_ys=None, name='gradients',
colocate_gradients_with_ops=False, gate_gradients=False,
aggregation_method=None, stop_gradients=None,
unconnected_gradients=tf.UnconnectedGradients.NONE
)... | tensorflow.compat.v1.gradients |
tf.compat.v1.GraphDef A ProtocolMessage
Attributes
library FunctionDefLibrary library
node repeated NodeDef node
version int32 version
versions VersionDef versions | tensorflow.compat.v1.graphdef |
tf.compat.v1.GraphKeys Standard names to use for graph collections. The standard library uses various well-known names to collect and retrieve values associated with a graph. For example, the tf.Optimizer subclasses default to optimizing the variables collected under tf.GraphKeys.TRAINABLE_VARIABLES if none is specifie... | tensorflow.compat.v1.graphkeys |
tf.compat.v1.GraphOptions A ProtocolMessage
Attributes
build_cost_model int64 build_cost_model
build_cost_model_after int64 build_cost_model_after
enable_bfloat16_sendrecv bool enable_bfloat16_sendrecv
enable_recv_scheduling bool enable_recv_scheduling
infer_shapes bool infer_shapes
... | tensorflow.compat.v1.graphoptions |
Module: tf.compat.v1.graph_util Helpers to manipulate a tensor graph in python. Functions convert_variables_to_constants(...): Replaces all the variables in a graph with constants of the same values. (deprecated) extract_sub_graph(...): Extract the subgraph that can reach any of the nodes in 'dest_nodes'. (deprecated) ... | tensorflow.compat.v1.graph_util |
tf.compat.v1.graph_util.convert_variables_to_constants Replaces all the variables in a graph with constants of the same values. (deprecated)
tf.compat.v1.graph_util.convert_variables_to_constants(
sess, input_graph_def, output_node_names, variable_names_whitelist=None,
variable_names_blacklist=None
)
Warning:... | tensorflow.compat.v1.graph_util.convert_variables_to_constants |
tf.compat.v1.graph_util.extract_sub_graph Extract the subgraph that can reach any of the nodes in 'dest_nodes'. (deprecated)
tf.compat.v1.graph_util.extract_sub_graph(
graph_def, dest_nodes
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use tf.compat.v1.... | tensorflow.compat.v1.graph_util.extract_sub_graph |
tf.compat.v1.graph_util.must_run_on_cpu Returns True if the given node_def must run on CPU, otherwise False. (deprecated)
tf.compat.v1.graph_util.must_run_on_cpu(
node, pin_variables_on_cpu=False
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use tf.comp... | tensorflow.compat.v1.graph_util.must_run_on_cpu |
tf.compat.v1.graph_util.remove_training_nodes Prunes out nodes that aren't needed for inference. (deprecated)
tf.compat.v1.graph_util.remove_training_nodes(
input_graph, protected_nodes=None
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use tf.compat.v1... | tensorflow.compat.v1.graph_util.remove_training_nodes |
tf.compat.v1.graph_util.tensor_shape_from_node_def_name Convenience function to get a shape from a NodeDef's input string. (deprecated)
tf.compat.v1.graph_util.tensor_shape_from_node_def_name(
graph, input_name
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updati... | tensorflow.compat.v1.graph_util.tensor_shape_from_node_def_name |
tf.compat.v1.hessians Constructs the Hessian of sum of ys with respect to x in xs.
tf.compat.v1.hessians(
ys, xs, name='hessians', colocate_gradients_with_ops=False,
gate_gradients=False, aggregation_method=None
)
hessians() adds ops to the graph to output the Hessian matrix of ys with respect to xs. It retur... | tensorflow.compat.v1.hessians |
tf.compat.v1.HistogramProto A ProtocolMessage
Attributes
bucket repeated double bucket
bucket_limit repeated double bucket_limit
max double max
min double min
num double num
sum double sum
sum_squares double sum_squares | tensorflow.compat.v1.histogramproto |
tf.compat.v1.IdentityReader A Reader that outputs the queued work as both the key and value. Inherits From: ReaderBase
tf.compat.v1.IdentityReader(
name=None
)
To use, enqueue strings in a Queue. Read will take the front work string and output (work, work). See ReaderBase for supported methods.
Args
name ... | tensorflow.compat.v1.identityreader |
Module: tf.compat.v1.image Image ops. The tf.image module contains various functions for image processing and decoding-encoding Ops. Many of the encoding/decoding functions are also available in the core tf.io module. Image processing Resizing The resizing Ops accept input images as tensors of several types. They alway... | tensorflow.compat.v1.image |
tf.compat.v1.image.crop_and_resize Extracts crops from the input image tensor and resizes them.
tf.compat.v1.image.crop_and_resize(
image, boxes, box_ind=None, crop_size=None, method='bilinear',
extrapolation_value=0, name=None, box_indices=None
)
Extracts crops from the input image tensor and resizes them us... | tensorflow.compat.v1.image.crop_and_resize |
tf.compat.v1.image.draw_bounding_boxes Draw bounding boxes on a batch of images.
tf.compat.v1.image.draw_bounding_boxes(
images, boxes, name=None, colors=None
)
Outputs a copy of images but draws on top of the pixels zero or more bounding boxes specified by the locations in boxes. The coordinates of the each boun... | tensorflow.compat.v1.image.draw_bounding_boxes |
tf.compat.v1.image.extract_glimpse Extracts a glimpse from the input tensor.
tf.compat.v1.image.extract_glimpse(
input, size, offsets, centered=True, normalized=True, uniform_noise=True,
name=None
)
Returns a set of windows called glimpses extracted at location offsets from the input tensor. If the windows on... | tensorflow.compat.v1.image.extract_glimpse |
tf.compat.v1.image.resize Resize images to size using the specified method. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.image.resize_images
tf.compat.v1.image.resize(
images, size, method=ResizeMethodV1.BILINEAR, align_corners=False,
preserve_aspect_ratio=Fa... | tensorflow.compat.v1.image.resize |
tf.compat.v1.image.ResizeMethod See v1.image.resize for details.
Class Variables
AREA 3
BICUBIC 2
BILINEAR 0
NEAREST_NEIGHBOR 1 | tensorflow.compat.v1.image.resizemethod |
tf.compat.v1.image.resize_area Resize images to size using area interpolation.
tf.compat.v1.image.resize_area(
images, size, align_corners=False, name=None
)
Input images can be of different types but output images are always float. The range of pixel values for the output image might be slightly different from t... | tensorflow.compat.v1.image.resize_area |
tf.compat.v1.image.resize_bicubic
tf.compat.v1.image.resize_bicubic(
images, size, align_corners=False, name=None, half_pixel_centers=False
) | tensorflow.compat.v1.image.resize_bicubic |
tf.compat.v1.image.resize_bilinear
tf.compat.v1.image.resize_bilinear(
images, size, align_corners=False, name=None, half_pixel_centers=False
) | tensorflow.compat.v1.image.resize_bilinear |
tf.compat.v1.image.resize_image_with_pad Resizes and pads an image to a target width and height.
tf.compat.v1.image.resize_image_with_pad(
image, target_height, target_width, method=ResizeMethodV1.BILINEAR,
align_corners=False
)
Resizes an image to a target width and height by keeping the aspect ratio the sam... | tensorflow.compat.v1.image.resize_image_with_pad |
tf.compat.v1.image.resize_nearest_neighbor
tf.compat.v1.image.resize_nearest_neighbor(
images, size, align_corners=False, name=None, half_pixel_centers=False
) | tensorflow.compat.v1.image.resize_nearest_neighbor |
tf.compat.v1.image.sample_distorted_bounding_box Generate a single randomly distorted bounding box for an image. (deprecated)
tf.compat.v1.image.sample_distorted_bounding_box(
image_size, bounding_boxes, seed=None, seed2=None, min_object_covered=0.1,
aspect_ratio_range=None, area_range=None, max_attempts=None,... | tensorflow.compat.v1.image.sample_distorted_bounding_box |
Module: tf.compat.v1.initializers Public API for tf.initializers namespace. Classes class constant: Initializer that generates tensors with constant values. class glorot_normal: The Glorot normal initializer, also called Xavier normal initializer. class glorot_uniform: The Glorot uniform initializer, also called Xavier... | tensorflow.compat.v1.initializers |
tf.compat.v1.initializers.he_normal He normal initializer.
tf.compat.v1.initializers.he_normal(
seed=None
)
It draws samples from a truncated normal distribution centered on 0 with standard deviation (after truncation) given by stddev = sqrt(2 / fan_in) where fan_in is the number of input units in the weight tens... | tensorflow.compat.v1.initializers.he_normal |
tf.compat.v1.initializers.he_uniform He uniform variance scaling initializer.
tf.compat.v1.initializers.he_uniform(
seed=None
)
It draws samples from a uniform distribution within [-limit, limit] where limit is sqrt(6 / fan_in) where fan_in is the number of input units in the weight tensor.
Arguments
seed ... | tensorflow.compat.v1.initializers.he_uniform |
tf.compat.v1.initializers.lecun_normal LeCun normal initializer.
tf.compat.v1.initializers.lecun_normal(
seed=None
)
It draws samples from a truncated normal distribution centered on 0 with standard deviation (after truncation) given by stddev = sqrt(1 / fan_in) where fan_in is the number of input units in the we... | tensorflow.compat.v1.initializers.lecun_normal |
tf.compat.v1.initializers.lecun_uniform LeCun uniform initializer.
tf.compat.v1.initializers.lecun_uniform(
seed=None
)
It draws samples from a uniform distribution within [-limit, limit] where limit is sqrt(3 / fan_in) where fan_in is the number of input units in the weight tensor.
Arguments
seed A Pyth... | tensorflow.compat.v1.initializers.lecun_uniform |
tf.compat.v1.initialize_all_tables Returns an Op that initializes all tables of the default graph. (deprecated)
tf.compat.v1.initialize_all_tables(
name='init_all_tables'
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use tf.tables_initializer instead.
... | tensorflow.compat.v1.initialize_all_tables |
tf.compat.v1.initialize_all_variables See tf.compat.v1.global_variables_initializer. (deprecated)
tf.compat.v1.initialize_all_variables()
Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2017-03-02. Instructions for updating: Use tf.global_variables_initializer instead.
Note: The output of this function... | tensorflow.compat.v1.initialize_all_variables |
tf.compat.v1.initialize_local_variables See tf.compat.v1.local_variables_initializer. (deprecated)
tf.compat.v1.initialize_local_variables()
Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2017-03-02. Instructions for updating: Use tf.local_variables_initializer instead.
Note: The output of this functi... | tensorflow.compat.v1.initialize_local_variables |
tf.compat.v1.initialize_variables See tf.compat.v1.variables_initializer. (deprecated)
tf.compat.v1.initialize_variables(
var_list, name='init'
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2017-03-02. Instructions for updating: Use tf.variables_initializer instead.
Note: The output of this fun... | tensorflow.compat.v1.initialize_variables |
tf.compat.v1.InteractiveSession A TensorFlow Session for use in interactive contexts, such as a shell.
tf.compat.v1.InteractiveSession(
target='', graph=None, config=None
)
The only difference with a regular Session is that an InteractiveSession installs itself as the default session on construction. The methods ... | tensorflow.compat.v1.interactivesession |
Module: tf.compat.v1.io Public API for tf.io namespace. Modules gfile module: Public API for tf.io.gfile namespace. Classes class FixedLenFeature: Configuration for parsing a fixed-length input feature. class FixedLenSequenceFeature: Configuration for parsing a variable-length input feature into a Tensor. class Padding... | tensorflow.compat.v1.io |
Module: tf.compat.v1.io.gfile Public API for tf.io.gfile namespace. Classes class GFile: File I/O wrappers without thread locking. Functions copy(...): Copies data from src to dst. exists(...): Determines whether a path exists or not. glob(...): Returns a list of files that match the given pattern(s). isdir(...): Retur... | tensorflow.compat.v1.io.gfile |
tf.compat.v1.io.TFRecordCompressionType The type of compression for the record. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.python_io.TFRecordCompressionType
Class Variables
GZIP 2
NONE 0
ZLIB 1 | tensorflow.compat.v1.io.tfrecordcompressiontype |
tf.compat.v1.io.tf_record_iterator An iterator that read the records from a TFRecords file. (deprecated) View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.python_io.tf_record_iterator
tf.compat.v1.io.tf_record_iterator(
path, options=None
)
Warning: THIS FUNCTION IS ... | tensorflow.compat.v1.io.tf_record_iterator |
tf.compat.v1.is_variable_initialized Tests if a variable has been initialized.
tf.compat.v1.is_variable_initialized(
variable
)
Args
variable A Variable.
Returns Returns a scalar boolean Tensor, True if the variable has been initialized, False otherwise.
Note: The output of this function sh... | tensorflow.compat.v1.is_variable_initialized |
Module: tf.compat.v1.keras Implementation of the Keras API meant to be a high-level API for TensorFlow. Detailed documentation and user guides are available at tensorflow.org. Modules activations module: Built-in activation functions. applications module: Keras Applications are canned architectures with pre-trained wei... | tensorflow.compat.v1.keras |
Module: tf.compat.v1.keras.activations Built-in activation functions. Functions deserialize(...): Returns activation function given a string identifier. elu(...): Exponential Linear Unit. exponential(...): Exponential activation function. get(...): Returns function. hard_sigmoid(...): Hard sigmoid activation function. ... | tensorflow.compat.v1.keras.activations |
Module: tf.compat.v1.keras.applications Keras Applications are canned architectures with pre-trained weights. Modules densenet module: DenseNet models for Keras. efficientnet module: EfficientNet models for Keras. imagenet_utils module: Utilities for ImageNet data preprocessing & prediction decoding. inception_resnet_v... | tensorflow.compat.v1.keras.applications |
Module: tf.compat.v1.keras.applications.densenet DenseNet models for Keras. Reference:
Densely Connected Convolutional Networks (CVPR 2017) Functions DenseNet121(...): Instantiates the Densenet121 architecture. DenseNet169(...): Instantiates the Densenet169 architecture. DenseNet201(...): Instantiates the Densenet20... | tensorflow.compat.v1.keras.applications.densenet |
Module: tf.compat.v1.keras.applications.efficientnet EfficientNet models for Keras. Reference:
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks (ICML 2019) Functions EfficientNetB0(...): Instantiates the EfficientNetB0 architecture. EfficientNetB1(...): Instantiates the EfficientNetB1 archite... | tensorflow.compat.v1.keras.applications.efficientnet |
Module: tf.compat.v1.keras.applications.imagenet_utils Utilities for ImageNet data preprocessing & prediction decoding. Functions decode_predictions(...): Decodes the prediction of an ImageNet model. preprocess_input(...): Preprocesses a tensor or Numpy array encoding a batch of images. | tensorflow.compat.v1.keras.applications.imagenet_utils |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.