Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/kernels/image/
Dimage_ops.h133 const Interpolation interpolation, const T fill_value)
137 fill_value_(fill_value) {}
180 const DenseIndex channel, const T fill_value) const {
182 DenseIndex(std::round(x)), channel, fill_value);
187 const DenseIndex channel, const T fill_value) const {
197 channel, fill_value)) +
200 channel, fill_value));
206 channel, fill_value)) +
209 channel, fill_value));
217 const DenseIndex channel, const T fill_value) const {
[all …]
Dimage_ops.cc88 T fill_value(0); in DoImageProjectiveTransformOp() local
95 fill_value = static_cast<T>(*(fill_value_t.scalar<float>().data())); in DoImageProjectiveTransformOp()
110 fill_value); in DoImageProjectiveTransformOp()
205 const TYPE fill_value) const; \
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dimage_preprocessing.py489 fill_value=0.0, argument
522 self.fill_value = fill_value
562 fill_value=self.fill_value)
577 'fill_value': self.fill_value,
621 fill_value=0.0, argument
686 fill_value = ops.convert_to_tensor_v2_with_dispatch(
687 fill_value, dtypes.float32, name='fill_value')
693 fill_value=fill_value,
797 fill_value=0.0, argument
811 self.fill_value = fill_value
[all …]
Dimage_preprocessing_test.py698 fill_value=0.0, argument
706 fill_value=fill_value,
946 transform_matrix, expected_output, 'constant', fill_value=1.0)
959 transform_matrix, expected_output, 'constant', fill_value=1.0)
972 transform_matrix, expected_output, 'constant', fill_value=1.0)
985 transform_matrix, expected_output, 'constant', fill_value=1.0)
/external/XNNPACK/src/x32-fill/
Dscalar-float.c16 const uint32_t* fill_value) in xnn_x32_fill_ukernel__scalar_float() argument
21 assert(fill_value != NULL); in xnn_x32_fill_ukernel__scalar_float()
25 const float vfill = *((const float*) fill_value); in xnn_x32_fill_ukernel__scalar_float()
Dscalar-int.c16 const uint32_t* fill_value) in xnn_x32_fill_ukernel__scalar_int() argument
21 assert(fill_value != NULL); in xnn_x32_fill_ukernel__scalar_int()
25 const uint32_t vfill = *fill_value; in xnn_x32_fill_ukernel__scalar_int()
Dwasmsimd.c18 const uint32_t* fill_value) in xnn_x32_fill_ukernel__wasmsimd() argument
23 assert(fill_value != NULL); in xnn_x32_fill_ukernel__wasmsimd()
27 const v128_t vfill = wasm_v32x4_load_splat(fill_value); in xnn_x32_fill_ukernel__wasmsimd()
Dneon.c18 const uint32_t* fill_value) in xnn_x32_fill_ukernel__neon() argument
23 assert(fill_value != NULL); in xnn_x32_fill_ukernel__neon()
27 const uint32x4_t vfill = vld1q_dup_u32(fill_value); in xnn_x32_fill_ukernel__neon()
Dsse.c18 const uint32_t* fill_value) in xnn_x32_fill_ukernel__sse() argument
23 assert(fill_value != NULL); in xnn_x32_fill_ukernel__sse()
27 const __m128 vfill = _mm_load1_ps((const float*) fill_value); in xnn_x32_fill_ukernel__sse()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dbugprone-suspicious-memset-usage.rst7 Considering the function as ``void* memset(void* destination, int fill_value,
19 Memset converts ``fill_value`` to ``unsigned char`` before using it. If
20 ``fill_value`` is out of unsigned character range, it gets truncated
26 to be unintended and swapped with ``fill_value``. The check offers to swap
/external/XNNPACK/src/x32-pad/
Dscalar-float.c16 const uint32_t* fill_value, in xnn_x32_pad_ukernel__scalar_float() argument
25 assert(fill_value != NULL); in xnn_x32_pad_ukernel__scalar_float()
30 const float vfill = *((const float*) fill_value); in xnn_x32_pad_ukernel__scalar_float()
Dscalar-int.c16 const uint32_t* fill_value, in xnn_x32_pad_ukernel__scalar_int() argument
25 assert(fill_value != NULL); in xnn_x32_pad_ukernel__scalar_int()
30 const uint32_t vfill = *fill_value; in xnn_x32_pad_ukernel__scalar_int()
Dwasmsimd.c18 const uint32_t* fill_value, in xnn_x32_pad_ukernel__wasmsimd() argument
27 assert(fill_value != NULL); in xnn_x32_pad_ukernel__wasmsimd()
32 const v128_t vfill = wasm_v32x4_load_splat(fill_value); in xnn_x32_pad_ukernel__wasmsimd()
Dneon.c18 const uint32_t* fill_value, in xnn_x32_pad_ukernel__neon() argument
27 assert(fill_value != NULL); in xnn_x32_pad_ukernel__neon()
32 const uint32x4_t vfill = vld1q_dup_u32(fill_value); in xnn_x32_pad_ukernel__neon()
Dsse.c18 const uint32_t* fill_value, in xnn_x32_pad_ukernel__sse() argument
27 assert(fill_value != NULL); in xnn_x32_pad_ukernel__sse()
32 const __m128 vfill = _mm_load1_ps((const float*) fill_value); in xnn_x32_pad_ukernel__sse()
/external/XNNPACK/test/
Dfill-microkernel-tester.h79 const uint32_t fill_value = u32rng(); in Test() local
87 &fill_value); in Test()
92 ASSERT_EQ(output[i * output_stride() + c], fill_value) in Test()
95 << ", fill value 0x" << std::hex << std::setw(8) << std::setfill('0') << fill_value in Test()
Dpad-microkernel-tester.h116 const uint32_t fill_value = u32rng(); in Test() local
119 std::fill(output_ref.begin(), output_ref.end(), fill_value); in Test()
133 &fill_value, in Test()
143 << ", fill value = " << fill_value; in Test()
/external/openscreen/platform/base/
Dudp_packet.cc17 UdpPacket::UdpPacket(size_type size, uint8_t fill_value) in UdpPacket() argument
18 : std::vector<uint8_t>(size, fill_value) { in UdpPacket()
Dudp_packet.h27 explicit UdpPacket(size_type size, uint8_t fill_value = {});
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ImageProjectiveTransformV3.pbtxt25 name: "fill_value"
61 image, the output pixel is set to fill_value.
/external/XNNPACK/src/xnnpack/
Dfill.h25 const uint32_t* fill_value);
Dpad.h25 const uint32_t* fill_value, \
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DImageProjectiveTransformV3.pbtxt16 name: "fill_value"
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_array_ops_test.py260 fill_value = fn1(f)
263 np_array_ops.full(shape, fill_value), np.full(shape, fill_value))
266 np_array_ops.full(shape, fill_value, dtype=dtype),
267 np.full(shape, fill_value, dtype=dtype))
286 fill_value = fn1(f)
289 np_array_ops.full_like(arr, fill_value),
290 np.full_like(arr, fill_value))
293 np_array_ops.full_like(arr, fill_value, dtype=dtype),
294 np.full_like(arr, fill_value, dtype=dtype))
Dnp_array_ops.py133 def full(shape, fill_value, dtype=None): # pylint: disable=redefined-outer-name argument
137 fill_value = asarray(fill_value, dtype=dtype)
138 return array_ops.broadcast_to(fill_value, shape)
144 def full_like(a, fill_value, dtype=None, order='K', subok=True, shape=None): # pylint: disable=mis… argument
155 fill_value = asarray(fill_value, dtype=dtype)
156 return array_ops.broadcast_to(fill_value, array_ops.shape(a))

12