Home
last modified time | relevance | path

Searched refs:bad_color (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/core/summary/
Dsummary_converter.cc111 typename TTypes<uint8>::ConstVec bad_color, in NormalizeFloatImage() argument
174 image->chip<0>(i) = bad_color; in NormalizeFloatImage()
191 typename TTypes<uint8>::ConstVec bad_color(bad_color_full.data(), depth); in NormalizeAndAddImages() local
195 auto ith_image = [&tensor, &image, bad_color, batch_size, hw, depth](int i) { in NormalizeAndAddImages()
199 NormalizeFloatImage<T>(hw, depth, values, bad_color, &image); in NormalizeAndAddImages()
238 int max_images, const Tensor& bad_color, in AddTensorAsImageToSummary() argument
270 tensor, max_images, h, w, hw, depth, batch_size, tag, bad_color, s)); in AddTensorAsImageToSummary()
273 tensor, max_images, h, w, hw, depth, batch_size, tag, bad_color, s)); in AddTensorAsImageToSummary()
276 tensor, max_images, h, w, hw, depth, batch_size, tag, bad_color, s)); in AddTensorAsImageToSummary()
Dsummary_file_writer_test.cc170 Tensor bad_color(DT_UINT8, TensorShape({1})); in CreateImage() local
171 bad_color.scalar<uint8>()() = 0; in CreateImage()
174 TF_RETURN_IF_ERROR(writer->WriteImage(2, one, "name", 1, bad_color)); in CreateImage()
Dsummary_converter.h30 int max_images, const Tensor& bad_color,
Dsummary_file_writer.cc124 int max_images, Tensor bad_color) override { in WriteImage() argument
128 TF_RETURN_IF_ERROR(AddTensorAsImageToSummary(t, tag, max_images, bad_color, in WriteImage()
Dsummary_db_writer.cc958 int max_images, Tensor bad_color) override { in WriteImage() argument
963 TF_RETURN_IF_ERROR(AddTensorAsImageToSummary(t, tag, max_images, bad_color, in WriteImage()
/external/tensorflow/tensorflow/core/kernels/
Dsummary_image_op.cc122 typename TTypes<uint8>::ConstVec bad_color(bad_color_full.data(), depth); in NormalizeAndAddImages() local
126 auto ith_image = [&tensor, &image, bad_color, batch_size, hw, in NormalizeAndAddImages()
132 NormalizeFloatImage<T>(hw, depth, values, bad_color, &image); in NormalizeAndAddImages()
182 typename TTypes<uint8>::ConstVec bad_color, in NormalizeFloatImage() argument
245 image->chip<0>(i) = bad_color; in NormalizeFloatImage()
Dsummary_kernels.cc274 const Tensor* bad_color; in Compute() local
275 OP_REQUIRES_OK(ctx, ctx->input("bad_color", &bad_color)); in Compute()
277 ctx, TensorShapeUtils::IsVector(bad_color->shape()), in Compute()
279 bad_color->shape().DebugString())); in Compute()
284 OP_REQUIRES_OK(ctx, s->WriteImage(step, *t, tag, max_images_, *bad_color)); in Compute()
Dsummary_interface.h48 int max_images, Tensor bad_color) = 0;
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DWriteImageSummary.pbtxt20 name: "bad_color"
67 name: "bad_color"
DImageSummary.pbtxt39 name: "bad_color"
96 name: "bad_color"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DImageSummary.pbtxt39 name: "bad_color"
96 name: "bad_color"
DWriteImageSummary.pbtxt20 name: "bad_color"
/external/tensorflow/tensorflow/python/kernel_tests/summary_ops/
Dsummary_v1_image_op_test.py54 bad_color = [255, 0, 0, 255][:depth]
77 self.assertAllEqual(image[1, 2], bad_color)
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ImageSummary.pbtxt29 name: "bad_color"
63 The `bad_color` argument is the color to use in the generated images for
/external/tensorflow/tensorflow/core/ir/importexport/tests/roundtrip/
Dtest20.pbtxt67 key: "bad_color"
/external/tensorflow/tensorflow/python/ops/
Dsummary_ops_v2.py929 def image(name, tensor, bad_color=None, max_images=3, family=None, step=None): argument
934 if bad_color is None else bad_color)
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops.td1310 The `bad_color` argument is the color to use in the generated images for
1323 bad_color: Color to use for pixels with non-finite values.
1331 TF_Uint8Tensor:$bad_color,
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.raw_ops.pbtxt1997 …argspec: "args=[\'tag\', \'tensor\', \'max_images\', \'bad_color\', \'name\'], varargs=None, keywo…
5441 …argspec: "args=[\'writer\', \'step\', \'tag\', \'tensor\', \'bad_color\', \'max_images\', \'name\'…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.raw_ops.pbtxt1997 …argspec: "args=[\'tag\', \'tensor\', \'max_images\', \'bad_color\', \'name\'], varargs=None, keywo…
5441 …argspec: "args=[\'writer\', \'step\', \'tag\', \'tensor\', \'bad_color\', \'max_images\', \'name\'…
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v0.pbtxt14065 name: "bad_color"
14120 name: "bad_color"
14176 name: "bad_color"
Dops_history.v2.pbtxt29283 name: "bad_color"
29340 name: "bad_color"
87055 name: "bad_color"
/external/tensorflow/tensorflow/go/op/
Dwrappers.go55676 …ope, writer tf.Output, step tf.Output, tag tf.Output, tensor tf.Output, bad_color tf.Output, optio…
55687 writer, step, tag, tensor, bad_color,
/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt22114 name: "bad_color"
62849 name: "bad_color"