doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
tf.distribute.MultiWorkerMirroredStrategy A distribution strategy for synchronous training on multiple workers. Inherits From: Strategy
tf.distribute.MultiWorkerMirroredStrategy(
cluster_resolver=None, communication_options=None
)
This strategy implements synchronous distributed training across multiple workers, ... | tensorflow.distribute.multiworkermirroredstrategy |
tf.distribute.NcclAllReduce View source on GitHub NCCL all-reduce implementation of CrossDeviceOps. Inherits From: CrossDeviceOps View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.distribute.NcclAllReduce
tf.distribute.NcclAllReduce(
num_packs=1
)
It uses Nvid... | tensorflow.distribute.ncclallreduce |
tf.distribute.OneDeviceStrategy View source on GitHub A distribution strategy for running on a single device. Inherits From: Strategy
tf.distribute.OneDeviceStrategy(
device
)
Using this strategy will place any variables created in its scope on the specified device. Input distributed through this strategy ... | tensorflow.distribute.onedevicestrategy |
tf.distribute.ReduceOp View source on GitHub Indicates how a set of values should be reduced. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.distribute.ReduceOp
SUM: Add all the values.
MEAN: Take the arithmetic mean ("average") of the values.
Class Vari... | tensorflow.distribute.reduceop |
tf.distribute.ReductionToOneDevice View source on GitHub A CrossDeviceOps implementation that copies values to one device to reduce. Inherits From: CrossDeviceOps View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.distribute.ReductionToOneDevice
tf.distribute.Reduct... | tensorflow.distribute.reductiontoonedevice |
tf.distribute.ReplicaContext View source on GitHub A class with a collection of APIs that can be called in a replica context.
tf.distribute.ReplicaContext(
strategy, replica_id_in_sync_group
)
You can use tf.distribute.get_replica_context to get an instance of ReplicaContext, which can only be called insid... | tensorflow.distribute.replicacontext |
tf.distribute.RunOptions Run options for strategy.run. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.distribute.RunOptions
tf.distribute.RunOptions(
experimental_enable_dynamic_batch_size=True,
experimental_bucketizing_dynamic_shape=False
)
This can be used t... | tensorflow.distribute.runoptions |
tf.distribute.Server View source on GitHub An in-process TensorFlow server, for use in distributed training. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.distribute.Server, tf.compat.v1.train.Server
tf.distribute.Server(
server_or_cluster_def, job_name=Non... | tensorflow.distribute.server |
tf.distribute.Strategy View source on GitHub A state & compute distribution policy on a list of devices.
tf.distribute.Strategy(
extended
)
See the guide for overview and examples. See tf.distribute.StrategyExtended and tf.distribute for a glossory of concepts mentioned on this page such as "per-replica", ... | tensorflow.distribute.strategy |
tf.distribute.StrategyExtended View source on GitHub Additional APIs for algorithms that need to be distribution-aware.
tf.distribute.StrategyExtended(
container_strategy
)
Note: For most usage of tf.distribute.Strategy, there should be no need to call these methods, since TensorFlow libraries (such as op... | tensorflow.distribute.strategyextended |
tf.distribute.TPUStrategy Synchronous training on TPUs and TPU Pods. Inherits From: Strategy
tf.distribute.TPUStrategy(
tpu_cluster_resolver=None, experimental_device_assignment=None
)
To construct a TPUStrategy object, you need to run the initialization code as below:
resolver = tf.distribute.cluster_resolver.T... | tensorflow.distribute.tpustrategy |
Module: tf.dtypes Public API for tf.dtypes namespace. Classes class DType: Represents the type of the elements in a Tensor. Functions as_dtype(...): Converts the given type_value to a DType. cast(...): Casts a tensor to a new type. complex(...): Converts two real numbers to a complex number. saturate_cast(...): Perform... | tensorflow.dtypes |
tf.dtypes.as_dtype View source on GitHub Converts the given type_value to a DType. View aliases Main aliases
tf.as_dtype Compat aliases for migration See Migration guide for more details. tf.compat.v1.as_dtype, tf.compat.v1.dtypes.as_dtype
tf.dtypes.as_dtype(
type_value
)
Note: DType values are intern... | tensorflow.dtypes.as_dtype |
tf.dtypes.complex View source on GitHub Converts two real numbers to a complex number. View aliases Main aliases
tf.complex Compat aliases for migration See Migration guide for more details. tf.compat.v1.complex, tf.compat.v1.dtypes.complex
tf.dtypes.complex(
real, imag, name=None
)
Given a tensor re... | tensorflow.dtypes.complex |
tf.dtypes.DType View source on GitHub Represents the type of the elements in a Tensor. View aliases Main aliases
tf.DType Compat aliases for migration See Migration guide for more details. tf.compat.v1.DType, tf.compat.v1.dtypes.DType
tf.dtypes.DType()
The following DType objects are defined:
tf.float16:... | tensorflow.dtypes.dtype |
tf.dtypes.saturate_cast View source on GitHub Performs a safe saturating cast of value to dtype. View aliases Main aliases
tf.saturate_cast Compat aliases for migration See Migration guide for more details. tf.compat.v1.dtypes.saturate_cast, tf.compat.v1.saturate_cast
tf.dtypes.saturate_cast(
value, dty... | tensorflow.dtypes.saturate_cast |
tf.dynamic_partition Partitions data into num_partitions tensors using indices from partitions. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.dynamic_partition
tf.dynamic_partition(
data, partitions, num_partitions, name=None
)
For each index tuple js of size par... | tensorflow.dynamic_partition |
tf.dynamic_stitch Interleave the values from the data tensors into a single tensor. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.dynamic_stitch
tf.dynamic_stitch(
indices, data, name=None
)
Builds a merged tensor such that merged[indices[m][i, ..., j], ...] = da... | tensorflow.dynamic_stitch |
tf.edit_distance View source on GitHub Computes the Levenshtein distance between sequences. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.edit_distance
tf.edit_distance(
hypothesis, truth, normalize=True, name='edit_distance'
)
This operation takes variabl... | tensorflow.edit_distance |
tf.einsum View source on GitHub Tensor contraction over specified indices and outer product. View aliases Main aliases
tf.linalg.einsum Compat aliases for migration See Migration guide for more details. tf.compat.v1.einsum, tf.compat.v1.linalg.einsum
tf.einsum(
equation, *inputs, **kwargs
)
Einsum al... | tensorflow.einsum |
tf.ensure_shape View source on GitHub Updates the shape of a tensor and checks at runtime that the shape holds. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.ensure_shape
tf.ensure_shape(
x, shape, name=None
)
For example:
@tf.function(input_signature=[tf... | tensorflow.ensure_shape |
Module: tf.errors Exception types for TensorFlow errors. Classes class AbortedError: The operation was aborted, typically due to a concurrent action. class AlreadyExistsError: Raised when an entity that we attempted to create already exists. class CancelledError: Raised when an operation or step is cancelled. class Dat... | tensorflow.errors |
tf.errors.AbortedError View source on GitHub The operation was aborted, typically due to a concurrent action. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.AbortedError
tf.errors.AbortedError(
node_def, op, message
)
For examp... | tensorflow.errors.abortederror |
tf.errors.AlreadyExistsError View source on GitHub Raised when an entity that we attempted to create already exists. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.AlreadyExistsError
tf.errors.AlreadyExistsError(
node_def, op, m... | tensorflow.errors.alreadyexistserror |
tf.errors.CancelledError View source on GitHub Raised when an operation or step is cancelled. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.CancelledError
tf.errors.CancelledError(
node_def, op, message
)
For example, a long-r... | tensorflow.errors.cancellederror |
tf.errors.DataLossError View source on GitHub Raised when unrecoverable data loss or corruption is encountered. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.DataLossError
tf.errors.DataLossError(
node_def, op, message
)
For e... | tensorflow.errors.datalosserror |
tf.errors.DeadlineExceededError View source on GitHub Raised when a deadline expires before an operation could complete. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.DeadlineExceededError
tf.errors.DeadlineExceededError(
node_... | tensorflow.errors.deadlineexceedederror |
tf.errors.FailedPreconditionError View source on GitHub Operation was rejected because the system is not in a state to execute it. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.FailedPreconditionError
tf.errors.FailedPreconditionEr... | tensorflow.errors.failedpreconditionerror |
tf.errors.InternalError View source on GitHub Raised when the system experiences an internal error. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.InternalError
tf.errors.InternalError(
node_def, op, message
)
This exception is... | tensorflow.errors.internalerror |
tf.errors.InvalidArgumentError View source on GitHub Raised when an operation receives an invalid argument. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.InvalidArgumentError
tf.errors.InvalidArgumentError(
node_def, op, messag... | tensorflow.errors.invalidargumenterror |
tf.errors.NotFoundError View source on GitHub Raised when a requested entity (e.g., a file or directory) was not found. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.NotFoundError
tf.errors.NotFoundError(
node_def, op, message
... | tensorflow.errors.notfounderror |
tf.errors.OperatorNotAllowedInGraphError An error is raised for unsupported operator in Graph execution.
tf.errors.OperatorNotAllowedInGraphError(
*args, **kwargs
)
For example, using a tf.Tensor as a Python bool in Graph execution is not allowed. | tensorflow.errors.operatornotallowedingrapherror |
tf.errors.OpError View source on GitHub A generic error that is raised when TensorFlow execution fails. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.OpError, tf.compat.v1.errors.OpError
tf.errors.OpError(
node_def, op, message, error_code
)
Whenever possi... | tensorflow.errors.operror |
tf.errors.OutOfRangeError View source on GitHub Raised when an operation iterates past the valid input range. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.OutOfRangeError
tf.errors.OutOfRangeError(
node_def, op, message
)
Thi... | tensorflow.errors.outofrangeerror |
tf.errors.PermissionDeniedError View source on GitHub Raised when the caller does not have permission to run an operation. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.PermissionDeniedError
tf.errors.PermissionDeniedError(
nod... | tensorflow.errors.permissiondeniederror |
tf.errors.ResourceExhaustedError View source on GitHub Some resource has been exhausted. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.ResourceExhaustedError
tf.errors.ResourceExhaustedError(
node_def, op, message
)
For exampl... | tensorflow.errors.resourceexhaustederror |
tf.errors.UnauthenticatedError View source on GitHub The request does not have valid authentication credentials. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.UnauthenticatedError
tf.errors.UnauthenticatedError(
node_def, op, m... | tensorflow.errors.unauthenticatederror |
tf.errors.UnavailableError View source on GitHub Raised when the runtime is currently unavailable. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.UnavailableError
tf.errors.UnavailableError(
node_def, op, message
)
This excepti... | tensorflow.errors.unavailableerror |
tf.errors.UnimplementedError View source on GitHub Raised when an operation has not been implemented. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.UnimplementedError
tf.errors.UnimplementedError(
node_def, op, message
)
Some ... | tensorflow.errors.unimplementederror |
tf.errors.UnknownError View source on GitHub Unknown error. Inherits From: OpError View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.errors.UnknownError
tf.errors.UnknownError(
node_def, op, message, error_code=UNKNOWN
)
An example of where this error may be r... | tensorflow.errors.unknownerror |
Module: tf.estimator Estimator: High level tools for working with models. Modules experimental module: Public API for tf.estimator.experimental namespace. export module: All public utility methods for exporting Estimator to SavedModel. Classes class BaselineClassifier: A classifier that can establish a simple baseline.... | tensorflow.estimator |
tf.estimator.add_metrics View source on GitHub Creates a new tf.estimator.Estimator which has given metrics. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.add_metrics
tf.estimator.add_metrics(
estimator, metric_fn
)
Example: def my_auc(labels, pr... | tensorflow.estimator.add_metrics |
tf.estimator.BaselineClassifier View source on GitHub A classifier that can establish a simple baseline. Inherits From: Estimator, Estimator
tf.estimator.BaselineClassifier(
model_dir=None, n_classes=2, weight_column=None, label_vocabulary=None,
optimizer='Ftrl', config=None,
loss_reduction=losses_u... | tensorflow.estimator.baselineclassifier |
tf.estimator.BaselineEstimator View source on GitHub An estimator that can establish a simple baseline. Inherits From: Estimator, Estimator
tf.estimator.BaselineEstimator(
head, model_dir=None, optimizer='Ftrl', config=None
)
The estimator uses a user-specified head. This estimator ignores feature values a... | tensorflow.estimator.baselineestimator |
tf.estimator.BaselineRegressor View source on GitHub A regressor that can establish a simple baseline. Inherits From: Estimator, Estimator
tf.estimator.BaselineRegressor(
model_dir=None, label_dimension=1, weight_column=None,
optimizer='Ftrl', config=None,
loss_reduction=losses_utils.ReductionV2.SUM... | tensorflow.estimator.baselineregressor |
tf.estimator.BestExporter View source on GitHub This class exports the serving graph and checkpoints of the best models. Inherits From: Exporter View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.BestExporter
tf.estimator.BestExporter(
name='best_expor... | tensorflow.estimator.bestexporter |
tf.estimator.BinaryClassHead View source on GitHub Creates a Head for single label binary classification. Inherits From: Head View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.BinaryClassHead
tf.estimator.BinaryClassHead(
weight_column=None, threshold... | tensorflow.estimator.binaryclasshead |
tf.estimator.BoostedTreesClassifier View source on GitHub A Classifier for Tensorflow Boosted Trees models. Inherits From: Estimator View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.BoostedTreesClassifier
tf.estimator.BoostedTreesClassifier(
feature_... | tensorflow.estimator.boostedtreesclassifier |
tf.estimator.BoostedTreesEstimator View source on GitHub An Estimator for Tensorflow Boosted Trees models. Inherits From: Estimator View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.BoostedTreesEstimator
tf.estimator.BoostedTreesEstimator(
feature_col... | tensorflow.estimator.boostedtreesestimator |
tf.estimator.BoostedTreesRegressor View source on GitHub A Regressor for Tensorflow Boosted Trees models. Inherits From: Estimator View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.BoostedTreesRegressor
tf.estimator.BoostedTreesRegressor(
feature_colu... | tensorflow.estimator.boostedtreesregressor |
tf.estimator.CheckpointSaverHook Saves checkpoints every N steps or seconds. Inherits From: SessionRunHook View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.CheckpointSaverHook, tf.compat.v1.train.CheckpointSaverHook
tf.estimator.CheckpointSaverHook(
checkpo... | tensorflow.estimator.checkpointsaverhook |
tf.estimator.CheckpointSaverListener Interface for listeners that take action before or after checkpoint save. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.CheckpointSaverListener, tf.compat.v1.train.CheckpointSaverListener CheckpointSaverListener triggers o... | tensorflow.estimator.checkpointsaverlistener |
tf.estimator.classifier_parse_example_spec View source on GitHub Generates parsing spec for tf.parse_example to be used with classifiers.
tf.estimator.classifier_parse_example_spec(
feature_columns, label_key, label_dtype=tf.dtypes.int64, label_default=None,
weight_column=None
)
If users keep data in t... | tensorflow.estimator.classifier_parse_example_spec |
tf.estimator.DNNClassifier View source on GitHub A classifier for TensorFlow DNN models. Inherits From: Estimator, Estimator
tf.estimator.DNNClassifier(
hidden_units, feature_columns, model_dir=None, n_classes=2, weight_column=None,
label_vocabulary=None, optimizer='Adagrad', activation_fn=tf.nn.relu,
... | tensorflow.estimator.dnnclassifier |
tf.estimator.DNNEstimator View source on GitHub An estimator for TensorFlow DNN models with user-specified head. Inherits From: Estimator, Estimator
tf.estimator.DNNEstimator(
head, hidden_units, feature_columns, model_dir=None,
optimizer='Adagrad', activation_fn=tf.nn.relu, dropout=None,
config=Non... | tensorflow.estimator.dnnestimator |
tf.estimator.DNNLinearCombinedClassifier View source on GitHub An estimator for TensorFlow Linear and DNN joined classification models. Inherits From: Estimator, Estimator
tf.estimator.DNNLinearCombinedClassifier(
model_dir=None, linear_feature_columns=None, linear_optimizer='Ftrl',
dnn_feature_columns=... | tensorflow.estimator.dnnlinearcombinedclassifier |
tf.estimator.DNNLinearCombinedEstimator View source on GitHub An estimator for TensorFlow Linear and DNN joined models with custom head. Inherits From: Estimator, Estimator
tf.estimator.DNNLinearCombinedEstimator(
head, model_dir=None, linear_feature_columns=None,
linear_optimizer='Ftrl', dnn_feature_co... | tensorflow.estimator.dnnlinearcombinedestimator |
tf.estimator.DNNLinearCombinedRegressor View source on GitHub An estimator for TensorFlow Linear and DNN joined models for regression. Inherits From: Estimator, Estimator
tf.estimator.DNNLinearCombinedRegressor(
model_dir=None, linear_feature_columns=None, linear_optimizer='Ftrl',
dnn_feature_columns=No... | tensorflow.estimator.dnnlinearcombinedregressor |
tf.estimator.DNNRegressor View source on GitHub A regressor for TensorFlow DNN models. Inherits From: Estimator, Estimator
tf.estimator.DNNRegressor(
hidden_units, feature_columns, model_dir=None, label_dimension=1,
weight_column=None, optimizer='Adagrad', activation_fn=tf.nn.relu,
dropout=None, con... | tensorflow.estimator.dnnregressor |
tf.estimator.Estimator View source on GitHub Estimator class to train and evaluate TensorFlow models. Inherits From: Estimator
tf.estimator.Estimator(
model_fn, model_dir=None, config=None, params=None, warm_start_from=None
)
The Estimator object wraps a model which is specified by a model_fn, which, given... | tensorflow.estimator.estimator |
tf.estimator.EstimatorSpec View source on GitHub Ops and objects returned from a model_fn and passed to an Estimator. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.EstimatorSpec
tf.estimator.EstimatorSpec(
mode, predictions=None, loss=None, train_... | tensorflow.estimator.estimatorspec |
tf.estimator.EvalSpec View source on GitHub Configuration for the "eval" part for the train_and_evaluate call. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.EvalSpec
tf.estimator.EvalSpec(
input_fn, steps=100, name=None, hooks=None, exporters=None... | tensorflow.estimator.evalspec |
Module: tf.estimator.experimental Public API for tf.estimator.experimental namespace. Classes class InMemoryEvaluatorHook: Hook to run evaluation in training without a checkpoint. class LinearSDCA: Stochastic Dual Coordinate Ascent helper for linear estimators. class RNNClassifier: A classifier for TensorFlow RNN model... | tensorflow.estimator.experimental |
tf.estimator.experimental.build_raw_supervised_input_receiver_fn Build a supervised_input_receiver_fn for raw features and labels. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.experimental.build_raw_supervised_input_receiver_fn
tf.estimator.experimental.bui... | tensorflow.estimator.experimental.build_raw_supervised_input_receiver_fn |
tf.estimator.experimental.call_logit_fn View source on GitHub Calls logit_fn (experimental). View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.experimental.call_logit_fn
tf.estimator.experimental.call_logit_fn(
logit_fn, features, mode, params, config... | tensorflow.estimator.experimental.call_logit_fn |
tf.estimator.experimental.InMemoryEvaluatorHook View source on GitHub Hook to run evaluation in training without a checkpoint. Inherits From: SessionRunHook View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.experimental.InMemoryEvaluatorHook
tf.estimator.... | tensorflow.estimator.experimental.inmemoryevaluatorhook |
tf.estimator.experimental.LinearSDCA View source on GitHub Stochastic Dual Coordinate Ascent helper for linear estimators. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.experimental.LinearSDCA
tf.estimator.experimental.LinearSDCA(
example_id_colum... | tensorflow.estimator.experimental.linearsdca |
tf.estimator.experimental.make_early_stopping_hook View source on GitHub Creates early-stopping hook. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.experimental.make_early_stopping_hook
tf.estimator.experimental.make_early_stopping_hook(
estimator... | tensorflow.estimator.experimental.make_early_stopping_hook |
tf.estimator.experimental.make_stop_at_checkpoint_step_hook View source on GitHub Creates a proper StopAtCheckpointStepHook based on chief status. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.experimental.make_stop_at_checkpoint_step_hook
tf.estimato... | tensorflow.estimator.experimental.make_stop_at_checkpoint_step_hook |
tf.estimator.experimental.RNNClassifier A classifier for TensorFlow RNN models. Inherits From: RNNEstimator, Estimator
tf.estimator.experimental.RNNClassifier(
sequence_feature_columns, context_feature_columns=None, units=None,
cell_type=USE_DEFAULT, rnn_cell_fn=None, return_sequences=False, model_dir=None,
... | tensorflow.estimator.experimental.rnnclassifier |
tf.estimator.experimental.RNNEstimator An Estimator for TensorFlow RNN models with user-specified head. Inherits From: Estimator
tf.estimator.experimental.RNNEstimator(
head, sequence_feature_columns, context_feature_columns=None, units=None,
cell_type=USE_DEFAULT, rnn_cell_fn=None, return_sequences=False, mod... | tensorflow.estimator.experimental.rnnestimator |
tf.estimator.experimental.stop_if_higher_hook View source on GitHub Creates hook to stop if the given metric is higher than the threshold. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.experimental.stop_if_higher_hook
tf.estimator.experimental.stop_if... | tensorflow.estimator.experimental.stop_if_higher_hook |
tf.estimator.experimental.stop_if_lower_hook View source on GitHub Creates hook to stop if the given metric is lower than the threshold. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.experimental.stop_if_lower_hook
tf.estimator.experimental.stop_if_lo... | tensorflow.estimator.experimental.stop_if_lower_hook |
tf.estimator.experimental.stop_if_no_decrease_hook View source on GitHub Creates hook to stop if metric does not decrease within given max steps. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.experimental.stop_if_no_decrease_hook
tf.estimator.experime... | tensorflow.estimator.experimental.stop_if_no_decrease_hook |
tf.estimator.experimental.stop_if_no_increase_hook View source on GitHub Creates hook to stop if metric does not increase within given max steps. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.experimental.stop_if_no_increase_hook
tf.estimator.experime... | tensorflow.estimator.experimental.stop_if_no_increase_hook |
Module: tf.estimator.export All public utility methods for exporting Estimator to SavedModel. This file includes functions and constants from core (model_utils) and export.py Classes class ClassificationOutput: Represents the output of a classification head. class ExportOutput: Represents an output of a model that can ... | tensorflow.estimator.export |
tf.estimator.export.build_parsing_serving_input_receiver_fn View source on GitHub Build a serving_input_receiver_fn expecting fed tf.Examples. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.export.build_parsing_serving_input_receiver_fn
tf.estimator.ex... | tensorflow.estimator.export.build_parsing_serving_input_receiver_fn |
tf.estimator.export.build_raw_serving_input_receiver_fn View source on GitHub Build a serving_input_receiver_fn expecting feature Tensors. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.export.build_raw_serving_input_receiver_fn
tf.estimator.export.bui... | tensorflow.estimator.export.build_raw_serving_input_receiver_fn |
tf.estimator.export.ClassificationOutput View source on GitHub Represents the output of a classification head. Inherits From: ExportOutput View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.export.ClassificationOutput
tf.estimator.export.ClassificationOutp... | tensorflow.estimator.export.classificationoutput |
tf.estimator.export.ExportOutput View source on GitHub Represents an output of a model that can be served. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.export.ExportOutput These typically correspond to model heads. Methods as_signature_def View source... | tensorflow.estimator.export.exportoutput |
tf.estimator.export.PredictOutput View source on GitHub Represents the output of a generic prediction head. Inherits From: ExportOutput View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.export.PredictOutput
tf.estimator.export.PredictOutput(
outputs
)... | tensorflow.estimator.export.predictoutput |
tf.estimator.export.RegressionOutput View source on GitHub Represents the output of a regression head. Inherits From: ExportOutput View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.export.RegressionOutput
tf.estimator.export.RegressionOutput(
value
)
... | tensorflow.estimator.export.regressionoutput |
tf.estimator.export.ServingInputReceiver View source on GitHub A return type for a serving_input_receiver_fn. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.export.ServingInputReceiver
tf.estimator.export.ServingInputReceiver(
features, receiver_te... | tensorflow.estimator.export.servinginputreceiver |
tf.estimator.export.TensorServingInputReceiver View source on GitHub A return type for a serving_input_receiver_fn. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.export.TensorServingInputReceiver
tf.estimator.export.TensorServingInputReceiver(
fea... | tensorflow.estimator.export.tensorservinginputreceiver |
tf.estimator.Exporter View source on GitHub A class representing a type of model export. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.Exporter
Attributes
name Directory name. A directory name under the export base directory where exports of t... | tensorflow.estimator.exporter |
tf.estimator.FeedFnHook Runs feed_fn and sets the feed_dict accordingly. Inherits From: SessionRunHook View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.FeedFnHook, tf.compat.v1.train.FeedFnHook
tf.estimator.FeedFnHook(
feed_fn
)
Args
feed_fn funct... | tensorflow.estimator.feedfnhook |
tf.estimator.FinalExporter View source on GitHub This class exports the serving graph and checkpoints at the end. Inherits From: Exporter View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.FinalExporter
tf.estimator.FinalExporter(
name, serving_input_r... | tensorflow.estimator.finalexporter |
tf.estimator.FinalOpsHook A hook which evaluates Tensors at the end of a session. Inherits From: SessionRunHook View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.FinalOpsHook, tf.compat.v1.train.FinalOpsHook
tf.estimator.FinalOpsHook(
final_ops, final_ops_fe... | tensorflow.estimator.finalopshook |
tf.estimator.GlobalStepWaiterHook Delays execution until global step reaches wait_until_step. Inherits From: SessionRunHook View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.GlobalStepWaiterHook, tf.compat.v1.train.GlobalStepWaiterHook
tf.estimator.GlobalStepWai... | tensorflow.estimator.globalstepwaiterhook |
tf.estimator.Head View source on GitHub Interface for the head/top of a model. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.Head Head sits on top of the model network and handles computing the outputs of the network. Given logits (or output of a hidde... | tensorflow.estimator.head |
tf.estimator.LatestExporter View source on GitHub This class regularly exports the serving graph and checkpoints. Inherits From: Exporter View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.LatestExporter
tf.estimator.LatestExporter(
name, serving_input... | tensorflow.estimator.latestexporter |
tf.estimator.LinearClassifier View source on GitHub Linear classifier model. Inherits From: Estimator, Estimator
tf.estimator.LinearClassifier(
feature_columns, model_dir=None, n_classes=2, weight_column=None,
label_vocabulary=None, optimizer='Ftrl', config=None,
warm_start_from=None,
loss_reduc... | tensorflow.estimator.linearclassifier |
tf.estimator.LinearEstimator View source on GitHub An estimator for TensorFlow linear models with user-specified head. Inherits From: Estimator, Estimator
tf.estimator.LinearEstimator(
head, feature_columns, model_dir=None, optimizer='Ftrl', config=None,
sparse_combiner='sum', warm_start_from=None
)
Ex... | tensorflow.estimator.linearestimator |
tf.estimator.LinearRegressor View source on GitHub An estimator for TensorFlow Linear regression problems. Inherits From: Estimator, Estimator
tf.estimator.LinearRegressor(
feature_columns, model_dir=None, label_dimension=1, weight_column=None,
optimizer='Ftrl', config=None, warm_start_from=None,
lo... | tensorflow.estimator.linearregressor |
tf.estimator.LoggingTensorHook Prints the given tensors every N local steps, every N seconds, or at end. Inherits From: SessionRunHook View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.LoggingTensorHook, tf.compat.v1.train.LoggingTensorHook
tf.estimator.LoggingT... | tensorflow.estimator.loggingtensorhook |
tf.estimator.LogisticRegressionHead View source on GitHub Creates a Head for logistic regression. Inherits From: RegressionHead, Head View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.LogisticRegressionHead
tf.estimator.LogisticRegressionHead(
weight_... | tensorflow.estimator.logisticregressionhead |
tf.estimator.ModeKeys View source on GitHub Standard names for Estimator model modes. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.ModeKeys The following standard keys are defined:
TRAIN: training/fitting mode.
EVAL: testing/evaluation mode.
PREDI... | tensorflow.estimator.modekeys |
tf.estimator.MultiClassHead View source on GitHub Creates a Head for multi class classification. Inherits From: Head View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.MultiClassHead
tf.estimator.MultiClassHead(
n_classes, weight_column=None, label_voc... | tensorflow.estimator.multiclasshead |
tf.estimator.MultiHead View source on GitHub Creates a Head for multi-objective learning. Inherits From: Head View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.MultiHead
tf.estimator.MultiHead(
heads, head_weights=None
)
This class merges the output ... | tensorflow.estimator.multihead |
tf.estimator.MultiLabelHead View source on GitHub Creates a Head for multi-label classification. Inherits From: Head View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.estimator.MultiLabelHead
tf.estimator.MultiLabelHead(
n_classes, weight_column=None, threshold... | tensorflow.estimator.multilabelhead |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.