Type nn
Namespace tensorflow.compat.v2.nn
Methods
- avg_pool2d
- avg_pool2d_dyn
- batch_norm_with_global_normalization
- batch_norm_with_global_normalization_dyn
- conv1d
- conv1d_dyn
- conv2d
- conv2d_dyn
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose
- conv2d_transpose_dyn
- conv3d
- conv3d_dyn
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose
- conv3d_transpose_dyn
- convolution
- convolution_dyn
- crelu
- crelu_dyn
- depth_to_space
- depth_to_space_dyn
- depthwise_conv2d
- depthwise_conv2d_dyn
- dilation2d
- dilation2d_dyn
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout
- dropout_dyn
- embedding_lookup
- embedding_lookup_dyn
- embedding_lookup_sparse
- embedding_lookup_sparse_dyn
- erosion2d
- erosion2d_dyn
- fractional_avg_pool
- fractional_avg_pool
- fractional_avg_pool_dyn
- fractional_max_pool
- fractional_max_pool
- fractional_max_pool_dyn
- in_top_k
- in_top_k_dyn
- l2_normalize
- l2_normalize
- l2_normalize_dyn
- log_softmax
- log_softmax_dyn
- max_pool_with_argmax
- max_pool_with_argmax_dyn
- moments
- moments_dyn
- nce_loss
- nce_loss
- nce_loss_dyn
- pool
- pool_dyn
- safe_embedding_lookup_sparse
- safe_embedding_lookup_sparse_dyn
- sampled_softmax_loss
- sampled_softmax_loss
- sampled_softmax_loss
- sampled_softmax_loss
- sampled_softmax_loss_dyn
- separable_conv2d
- separable_conv2d_dyn
- sigmoid_cross_entropy_with_logits
- sigmoid_cross_entropy_with_logits_dyn
- softmax
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits
- softmax_cross_entropy_with_logits_dyn
- softmax_dyn
- space_to_depth
- space_to_depth_dyn
- sparse_softmax_cross_entropy_with_logits
- sparse_softmax_cross_entropy_with_logits
- sparse_softmax_cross_entropy_with_logits
- sparse_softmax_cross_entropy_with_logits
- sparse_softmax_cross_entropy_with_logits
- sparse_softmax_cross_entropy_with_logits
- sparse_softmax_cross_entropy_with_logits_dyn
- sufficient_statistics
- sufficient_statistics_dyn
- weighted_cross_entropy_with_logits
- weighted_cross_entropy_with_logits_dyn
- weighted_moments
- weighted_moments_dyn
Properties
- avg_pool2d_fn
- batch_norm_with_global_normalization_fn_
- conv1d_fn_
- conv2d_fn_
- conv2d_transpose_fn_
- conv3d_fn_
- conv3d_transpose_fn_
- convolution_fn_
- crelu_fn_
- depth_to_space_fn_
- depthwise_conv2d_fn_
- dilation2d_fn_
- dropout_fn_
- embedding_lookup_fn_
- embedding_lookup_sparse_fn_
- erosion2d_fn_
- fractional_avg_pool_fn_
- fractional_max_pool_fn_
- in_top_k_fn_
- l2_normalize_fn_
- log_softmax_fn_
- max_pool_with_argmax_fn_
- moments_fn_
- nce_loss_fn_
- pool_fn_
- safe_embedding_lookup_sparse_fn_
- sampled_softmax_loss_fn_
- separable_conv2d_fn_
- sigmoid_cross_entropy_with_logits_fn_
- softmax_cross_entropy_with_logits_fn_
- softmax_fn_
- space_to_depth_fn_
- sparse_softmax_cross_entropy_with_logits_fn_
- sufficient_statistics_fn_
- weighted_cross_entropy_with_logits_fn_
- weighted_moments_fn_
Public static methods
Tensor avg_pool2d(object input, object ksize, object strides, object padding, string data_format, string name)
object avg_pool2d_dyn(object input, object ksize, object strides, object padding, ImplicitContainer<T> data_format, object name)
object batch_norm_with_global_normalization(object input, object mean, object variance, object beta, object gamma, object variance_epsilon, object scale_after_normalization, string name)
object batch_norm_with_global_normalization_dyn(object input, object mean, object variance, object beta, object gamma, object variance_epsilon, object scale_after_normalization, object name)
Tensor conv1d(object input, object filters, object stride, object padding, string data_format, object dilations, string name)
object conv1d_dyn(object input, object filters, object stride, object padding, ImplicitContainer<T> data_format, object dilations, object name)
Tensor conv2d(IGraphNodeBase input, IGraphNodeBase filters, object strides, object padding, string data_format, object dilations, string name)
object conv2d_dyn(object input, object filters, object strides, object padding, ImplicitContainer<T> data_format, object dilations, object name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, IEnumerable<int> output_shape, string strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, ValueTuple<IEnumerable<object>, PythonClassContainer> output_shape, int strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, ValueTuple<IEnumerable<object>, PythonClassContainer> output_shape, object strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, ValueTuple<IEnumerable<object>, PythonClassContainer> output_shape, string strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, ValueTuple<IEnumerable<object>, PythonClassContainer> output_shape, IEnumerable<int> strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, IGraphNodeBase output_shape, IEnumerable<int> strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, IGraphNodeBase output_shape, int strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, IGraphNodeBase output_shape, object strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, IGraphNodeBase output_shape, string strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, object output_shape, IEnumerable<int> strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, ValueTuple<IEnumerable<object>, PythonClassContainer> output_shape, IEnumerable<int> strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, object output_shape, int strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, object output_shape, object strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, object output_shape, string strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, IEnumerable<int> output_shape, IEnumerable<int> strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, ValueTuple<IEnumerable<object>, PythonClassContainer> output_shape, int strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, ValueTuple<IEnumerable<object>, PythonClassContainer> output_shape, object strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, IEnumerable<int> output_shape, int strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, IGraphNodeBase output_shape, IEnumerable<int> strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, IEnumerable<int> output_shape, object strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, object output_shape, string strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, ValueTuple<IEnumerable<object>, PythonClassContainer> output_shape, string strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, IEnumerable<int> output_shape, IEnumerable<int> strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, IEnumerable<int> output_shape, int strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, int filters, IEnumerable<int> output_shape, string strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, IEnumerable<int> output_shape, object strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, object output_shape, object strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, object output_shape, int strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, object output_shape, IEnumerable<int> strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, IGraphNodeBase output_shape, string strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, IGraphNodeBase output_shape, object strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
Tensor conv2d_transpose(IGraphNodeBase input, IGraphNodeBase filters, IGraphNodeBase output_shape, int strides, ImplicitContainer<T> padding, string data_format, object dilations, string name)
object conv2d_transpose_dyn(object input, object filters, object output_shape, object strides, ImplicitContainer<T> padding, ImplicitContainer<T> data_format, object dilations, object name)
Tensor conv3d(object input, object filters, object strides, object padding, string data_format, object dilations, string name)
object conv3d_dyn(object input, object filters, object strides, object padding, ImplicitContainer<T> data_format, object dilations, object name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, IGraphNodeBase filters, ValueTuple<object, IEnumerable<object>> output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, IGraphNodeBase filters, IEnumerable<int> output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, int filters, IEnumerable<int> output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, IGraphNodeBase filters, ValueTuple<object, IEnumerable<object>> output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, int filters, ValueTuple<object> output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, int filters, IGraphNodeBase output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IGraphNodeBase input, IGraphNodeBase filters, ValueTuple<object, IEnumerable<object>> output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, int filters, ValueTuple<object> output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, int filters, ValueTuple<object, IEnumerable<object>> output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, int filters, ValueTuple<object, IEnumerable<object>> output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, IGraphNodeBase filters, ValueTuple<object> output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, int filters, IGraphNodeBase output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IGraphNodeBase input, IGraphNodeBase filters, ValueTuple<object> output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, IGraphNodeBase filters, IEnumerable<int> output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, int filters, IEnumerable<int> output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IGraphNodeBase input, int filters, IEnumerable<int> output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IGraphNodeBase input, int filters, ValueTuple<object, IEnumerable<object>> output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IGraphNodeBase input, IGraphNodeBase filters, IGraphNodeBase output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, IGraphNodeBase filters, IGraphNodeBase output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IGraphNodeBase input, IGraphNodeBase filters, ValueTuple<object> output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IGraphNodeBase input, int filters, ValueTuple<object, IEnumerable<object>> output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IGraphNodeBase input, IGraphNodeBase filters, IGraphNodeBase output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IGraphNodeBase input, int filters, IEnumerable<int> output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IGraphNodeBase input, int filters, ValueTuple<object> output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IGraphNodeBase input, int filters, ValueTuple<object> output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IGraphNodeBase input, int filters, IGraphNodeBase output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IGraphNodeBase input, IGraphNodeBase filters, IEnumerable<int> output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, IGraphNodeBase filters, ValueTuple<object> output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IGraphNodeBase input, IGraphNodeBase filters, IEnumerable<int> output_shape, object strides, string padding, string data_format, object dilations, string name)
Tensor conv3d_transpose(IGraphNodeBase input, IGraphNodeBase filters, ValueTuple<object, IEnumerable<object>> output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IGraphNodeBase input, int filters, IGraphNodeBase output_shape, object strides, string padding, string data_format, object dilations, PythonFunctionContainer name)
Tensor conv3d_transpose(IEnumerable<IGraphNodeBase> input, IGraphNodeBase filters, IGraphNodeBase output_shape, object strides, string padding, string data_format, object dilations, string name)
object conv3d_transpose_dyn(object input, object filters, object output_shape, object strides, ImplicitContainer<T> padding, ImplicitContainer<T> data_format, object dilations, object name)
object convolution(object input, object filters, object strides, string padding, object data_format, object dilations, string name)
object convolution_dyn(object input, object filters, object strides, ImplicitContainer<T> padding, object data_format, object dilations, object name)
Tensor crelu(object features, int axis, string name)
object crelu_dyn(object features, ImplicitContainer<T> axis, object name)
Tensor depth_to_space(object input, object block_size, string data_format, string name)
object depth_to_space_dyn(object input, object block_size, ImplicitContainer<T> data_format, object name)
Tensor depthwise_conv2d(object input, object filter, object strides, object padding, object data_format, object dilations, string name)
object depthwise_conv2d_dyn(object input, object filter, object strides, object padding, object data_format, object dilations, object name)
Tensor dilation2d(IGraphNodeBase input, IGraphNodeBase filters, object strides, object padding, object data_format, object dilations, string name)
object dilation2d_dyn(object input, object filters, object strides, object padding, object data_format, object dilations, object name)
object dropout(IGraphNodeBase x, double rate, IGraphNodeBase noise_shape, Nullable<int> seed, string name)
object dropout(IGraphNodeBase x, IEnumerable<double> rate, IGraphNodeBase noise_shape, Nullable<int> seed, string name)
object dropout(IGraphNodeBase x, int rate, IEnumerable<int> noise_shape, Nullable<int> seed, string name)
object dropout(IEnumerable<IGraphNodeBase> x, double rate, IGraphNodeBase noise_shape, Nullable<int> seed, string name)
object dropout(IGraphNodeBase x, double rate, IEnumerable<int> noise_shape, Nullable<int> seed, string name)
object dropout(IGraphNodeBase x, int rate, IGraphNodeBase noise_shape, Nullable<int> seed, string name)
object dropout(IGraphNodeBase x, PythonClassContainer rate, IEnumerable<int> noise_shape, Nullable<int> seed, string name)
object dropout(IEnumerable<IGraphNodeBase> x, IEnumerable<double> rate, IEnumerable<int> noise_shape, Nullable<int> seed, string name)
object dropout(IEnumerable<IGraphNodeBase> x, IEnumerable<double> rate, IGraphNodeBase noise_shape, Nullable<int> seed, string name)
object dropout(IEnumerable<IGraphNodeBase> x, PythonClassContainer rate, IGraphNodeBase noise_shape, Nullable<int> seed, string name)
object dropout(IGraphNodeBase x, PythonClassContainer rate, IGraphNodeBase noise_shape, Nullable<int> seed, string name)
object dropout(IEnumerable<IGraphNodeBase> x, PythonClassContainer rate, IEnumerable<int> noise_shape, Nullable<int> seed, string name)
object dropout(IGraphNodeBase x, IEnumerable<double> rate, IEnumerable<int> noise_shape, Nullable<int> seed, string name)
object dropout(PythonClassContainer x, double rate, IEnumerable<int> noise_shape, Nullable<int> seed, string name)
object dropout(PythonClassContainer x, PythonClassContainer rate, IEnumerable<int> noise_shape, Nullable<int> seed, string name)
object dropout(PythonClassContainer x, IEnumerable<double> rate, IEnumerable<int> noise_shape, Nullable<int> seed, string name)
object dropout(PythonClassContainer x, double rate, IGraphNodeBase noise_shape, Nullable<int> seed, string name)
object dropout(PythonClassContainer x, PythonClassContainer rate, IGraphNodeBase noise_shape, Nullable<int> seed, string name)
object dropout(IEnumerable<IGraphNodeBase> x, int rate, IEnumerable<int> noise_shape, Nullable<int> seed, string name)
object dropout(IEnumerable<IGraphNodeBase> x, double rate, IEnumerable<int> noise_shape, Nullable<int> seed, string name)
object dropout(IEnumerable<IGraphNodeBase> x, int rate, IGraphNodeBase noise_shape, Nullable<int> seed, string name)
object dropout(PythonClassContainer x, int rate, IEnumerable<int> noise_shape, Nullable<int> seed, string name)
object dropout(PythonClassContainer x, IEnumerable<double> rate, IGraphNodeBase noise_shape, Nullable<int> seed, string name)
object dropout(PythonClassContainer x, int rate, IGraphNodeBase noise_shape, Nullable<int> seed, string name)
object dropout_dyn(object x, object rate, object noise_shape, object seed, object name)
Tensor embedding_lookup(object params, object ids, object max_norm, string name)
object embedding_lookup_dyn(object params, object ids, object max_norm, object name)
object embedding_lookup_sparse(object params, object sp_ids, object sp_weights, object combiner, object max_norm, string name)
object embedding_lookup_sparse_dyn(object params, object sp_ids, object sp_weights, object combiner, object max_norm, object name)
Tensor erosion2d(IGraphNodeBase value, IGraphNodeBase filters, object strides, object padding, object data_format, object dilations, string name)
object erosion2d_dyn(object value, object filters, object strides, object padding, object data_format, object dilations, object name)
object fractional_avg_pool(IGraphNodeBase value, ValueTuple<int, double, object, object> pooling_ratio, bool pseudo_random, bool overlapping, int seed, string name)
object fractional_avg_pool(IGraphNodeBase value, IEnumerable<double> pooling_ratio, bool pseudo_random, bool overlapping, int seed, string name)
object fractional_avg_pool_dyn(object value, object pooling_ratio, ImplicitContainer<T> pseudo_random, ImplicitContainer<T> overlapping, ImplicitContainer<T> seed, object name)
object fractional_max_pool(IGraphNodeBase value, ValueTuple<int, double, object, object> pooling_ratio, bool pseudo_random, bool overlapping, int seed, string name)
object fractional_max_pool(IGraphNodeBase value, IEnumerable<double> pooling_ratio, bool pseudo_random, bool overlapping, int seed, string name)
object fractional_max_pool_dyn(object value, object pooling_ratio, ImplicitContainer<T> pseudo_random, ImplicitContainer<T> overlapping, ImplicitContainer<T> seed, object name)
Tensor in_top_k(object targets, object predictions, object k, string name)
object in_top_k_dyn(object targets, object predictions, object k, object name)
Says whether the targets are in the top `K` predictions. This outputs a `batch_size` bool array, an entry `out[i]` is `true` if the
prediction for the target class is finite (not inf, -inf, or nan) and among
the top `k` predictions among all predictions for example `i`. Note that the
behavior of `InTopK` differs from the `TopK` op in its handling of ties; if
multiple classes have the same prediction value and straddle the top-`k`
boundary, all of those classes are considered to be in the top `k`. More formally, let \\(predictions_i\\) be the predictions for all classes for example `i`,
\\(targets_i\\) be the target class for example `i`,
\\(out_i\\) be the output for example `i`, $$out_i = predictions_{i, targets_i} \in TopKIncludingTies(predictions_i)$$
Parameters
-
object
targets - A `Tensor`. Must be one of the following types: `int32`, `int64`. A `batch_size` vector of class ids.
-
object
predictions - A `Tensor` of type `float32`. A `batch_size` x `classes` tensor.
-
object
k - An `int`. Number of top elements to look at for computing precision.
-
object
name - A name for the operation (optional).
Returns
-
object
- A `Tensor` of type `bool`. Computed Precision at `k` as a `bool Tensor`.