- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DataTypeIsFloating (0.42 sec)
-
tensorflow/c/experimental/saved_model/core/test_utils.cc
type* typed_a = static_cast<type*>(a); \ type* typed_b = static_cast<type*>(b); \ for (int64_t i = 0; i < num_elements; ++i) { \ if (DataTypeIsFloating(dtype)) { \ EXPECT_FLOAT_EQ(static_cast<float>(typed_a[i]), \ static_cast<float>(typed_b[i])); \ } else { \
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:13:32 UTC 2023 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass.cc
.FirstN(1000) .Summarize(-1)); new_output = print_op; } if (debugging_opts.check_output_numerics && DataTypeIsFloating(new_output.type())) { ops::CheckNumerics check_numerics_op( s.WithOpName("check_output_", oidx) .WithDevice(new_node->requested_device())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 24.3K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad.cc
namespace { static Status SafeConj(AbstractContext* ctx, AbstractTensorHandle* const input, AbstractTensorHandle** output, const char* name) { auto dtype = input->DataType(); if (DataTypeIsFloating(BaseType(dtype)) || DataTypeIsInteger(BaseType(dtype))) { return tensorflow::ops::Identity(ctx, input, output, name); } else if (!DataTypeIsComplex(BaseType(dtype)) &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 13:53:47 UTC 2024 - 15.2K bytes - Viewed (0)