/external/libchrome/base/posix/ |
file_descriptor_shuffle.cc | 36 const bool is_identity = i->source == i->dest; local 40 if (!is_identity && i->dest == j->source) { 65 if (!is_identity) { 70 if (!is_identity && i->close)
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_remove_constants.c | 68 unsigned is_identity = 1; local 115 is_identity = 0; 121 /* is_identity ==> new_count == old_count 122 * !is_identity ==> new_count < old_count */ 123 assert( is_identity || new_count < c->Program.Constants.Count); 127 if (!is_identity) {
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
transpose_op.cc | 63 bool is_identity = true; variable 72 is_identity = false; 82 if (dims <= 1 || is_identity) {
|
/external/tensorflow/tensorflow/core/kernels/ |
strided_slice_op_test.cc | 110 bool is_identity = true, slice_dim0 = true, is_simple_slice = true; local 121 &is_identity, &is_simple_slice, &slice_dim0, &begin_out, &end_out,
|
transpose_op.cc | 165 bool is_identity = true; local 175 is_identity = false; 186 if (!IsConjugate() && (dims <= 1 || is_identity)) {
|
strided_slice_op.cc | 92 bool is_identity = true; variable 104 &processing_shape, &final_shape, &is_identity, 109 if (is_identity) { 119 CHECK_GE(input.dims(), 1); // Otherwise, is_identity should be true. 192 bool is_identity = true; variable 222 shrink_axis_mask, &processing_shape, &final_shape, &is_identity, 284 bool is_identity = true; variable 312 shrink_axis_mask, &processing_shape, &final_shape, &is_identity,
|
slice_op.cc | 66 TensorShape* output_shape, bool* is_identity, 95 *is_identity = true; 117 (*is_identity) &= take_all; 130 bool is_identity = true; local 134 SharedValidation(context, output_shape, &is_identity, &slice_dim0, begin, 138 if (is_identity) { 148 CHECK_GE(input.dims(), 1); // Otherwise, is_identity should be true.
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
dependency_optimizer.cc | 155 const bool is_identity = IsIdentity(*node); local 276 if (is_noop || is_identity) { 321 if (is_identity && (num_cross_after > 0 || num_cross_before > 0)) { 325 if (is_identity && !SafeToRemoveIdentity(*node)) { 338 if (is_identity && i == 0) {
|
/external/skia/tests/ |
Matrix44Test.cpp | 69 static bool is_identity(const SkMatrix44& m) { function 841 REPORTER_ASSERT(reporter, is_identity(iden1)); 846 REPORTER_ASSERT(reporter, is_identity(iden1)); 851 REPORTER_ASSERT(reporter, is_identity(iden1)); 859 REPORTER_ASSERT(reporter, is_identity(iden1)); 861 REPORTER_ASSERT(reporter, is_identity(iden2)); 873 REPORTER_ASSERT(reporter, is_identity(iden1)); 888 REPORTER_ASSERT(reporter, is_identity(iden1)); [all...] |
MatrixTest.cpp | 69 static bool is_identity(const SkMatrix& m) { function 836 REPORTER_ASSERT(reporter, is_identity(iden1)); 841 REPORTER_ASSERT(reporter, is_identity(iden1)); 847 REPORTER_ASSERT(reporter, is_identity(iden1)); 855 REPORTER_ASSERT(reporter, is_identity(iden1)); 857 REPORTER_ASSERT(reporter, is_identity(iden2)); [all...] |
/external/skqp/tests/ |
Matrix44Test.cpp | 69 static bool is_identity(const SkMatrix44& m) { function 841 REPORTER_ASSERT(reporter, is_identity(iden1)); 846 REPORTER_ASSERT(reporter, is_identity(iden1)); 851 REPORTER_ASSERT(reporter, is_identity(iden1)); 859 REPORTER_ASSERT(reporter, is_identity(iden1)); 861 REPORTER_ASSERT(reporter, is_identity(iden2)); 873 REPORTER_ASSERT(reporter, is_identity(iden1)); 888 REPORTER_ASSERT(reporter, is_identity(iden1)); [all...] |
MatrixTest.cpp | 69 static bool is_identity(const SkMatrix& m) { function 836 REPORTER_ASSERT(reporter, is_identity(iden1)); 841 REPORTER_ASSERT(reporter, is_identity(iden1)); 847 REPORTER_ASSERT(reporter, is_identity(iden1)); 855 REPORTER_ASSERT(reporter, is_identity(iden1)); 857 REPORTER_ASSERT(reporter, is_identity(iden2)); [all...] |