Home
last modified time | relevance | path

Searched refs:fill_value (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/contrib/image/kernels/
Dimage_ops.h74 const T fill_value = T(0); in operator() local
79 fill_value); in operator()
82 fill_value); in operator()
92 const DenseIndex channel, const T fill_value) const { in nearest_interpolation() argument
94 DenseIndex(std::round(x)), channel, fill_value); in nearest_interpolation()
99 const DenseIndex channel, const T fill_value) const { in bilinear_interpolation() argument
109 channel, fill_value)) + in bilinear_interpolation()
112 channel, fill_value)); in bilinear_interpolation()
118 channel, fill_value)) + in bilinear_interpolation()
121 channel, fill_value)); in bilinear_interpolation()
[all …]
/external/tensorflow/tensorflow/python/framework/
Dtensor_util.py760 fill_value = constant_value(tensor.op.inputs[1])
761 if fill_shape.is_fully_defined() and fill_value is not None:
762 return np.full(fill_shape.as_list(), fill_value, dtype=fill_value.dtype)
/external/tensorflow/tensorflow/python/ops/
Dnn_test.py541 true_exp = np.full([batch_size, 1], fill_value=0.5, dtype=np.float32)
542 sampled_exp = np.full([len(sampled)], fill_value=0.5, dtype=np.float32)
921 fill_value=0.5,
924 fill_value=0.5,
Dnn_ops.py657 def _with_space_to_batch_adjust(orig, fill_value, spatial_dims): argument
698 fill_value,
Dimage_ops_test.py4796 np.full_like(img1, fill_value=255)]