/external/tensorflow/tensorflow/python/kernel_tests/ |
D | one_hot_op_test.py | 32 truth, argument 45 self.assertAllEqual(tf_ans, truth) 51 def _testBothOneHot(self, truth, expected_err_re=None, raises=None, **inputs): argument 52 self._testOneHot(truth, True, expected_err_re, raises, **inputs) 53 self._testOneHot(truth, False, expected_err_re, raises, **inputs) 61 truth = np.asarray( 73 truth=truth) 83 truth=truth.T) # Output is transpose version in this case 89 truth = np.asarray( 94 self._testBothOneHot(indices=indices, depth=depth, truth=truth) [all …]
|
D | reduce_join_op_test.py | 71 def assertAllEqualUnicode(self, truth, actual): argument 73 np.array(truth).astype("U"), np.array(actual).astype("U")) 81 truth = ["{:03b}".format(i) for i in xrange(2**num_dims)] 83 self.assertAllEqualUnicode(truth, output_array) 102 truth, argument 125 self.assertAllEqualUnicode(truth, output_array) 146 truth = input_array 148 truth = string_ops.reduce_join( 149 inputs=truth, axis=index, keep_dims=True, separator=separator) 151 truth = constant_op.constant(truth) [all …]
|
D | where_op_test.py | 40 def _testWhere(self, x, truth, expected_err_re=None): argument 46 self.assertAllClose(tf_ans, truth, atol=1e-10) 61 truth = np.asarray([[0]], dtype=np.int64) 62 self._testWhere(x, truth) 65 truth = np.asarray([[1]], dtype=np.int64) 66 self._testWhere(x, truth) 69 truth = np.asarray([[2], [4]], dtype=np.int64) 70 self._testWhere(x, truth) 75 truth = np.vstack([np.where(x)[0].astype(np.int64)]).T 76 self._testWhere(x, truth) [all …]
|
D | edit_distance_op_test.py | 48 hypothesis=hypothesis_st, truth=truth_st, normalize=normalize) 60 truth, argument 67 max(h, t) for h, t in tuple(zip(hypothesis[2], truth[2]))[:-1] 77 *[ConstantOf(x) for x in truth]), 89 truth_st=sparse_tensor.SparseTensor(*[ConstantOf(x) for x in truth]), 106 truth=(truth_indices, truth_values, truth_shape), 121 truth=(truth_indices, truth_values, truth_shape), 141 truth=(truth_indices, truth_values, truth_shape), 147 truth=(truth_indices, truth_values, truth_shape), 165 truth=(truth_indices, truth_values, truth_shape), [all …]
|
D | confusion_matrix_test.py | 49 def _testConfMatrix(self, labels, predictions, truth, weights=None, argument 56 self.assertAllClose(truth, ans, atol=1e-10) 63 truth = np.asarray( 71 self._testConfMatrix(labels=labels, predictions=predictions, truth=truth) 108 truth = np.zeros([2, 2], dtype=np_dtype) 110 truth[l[i], d[i]] += 1 113 self.assertAllClose(cm_out, truth, atol=1e-10) 127 truth = np.asarray( 137 self._testConfMatrix(labels=labels, predictions=predictions, truth=truth) 151 truth = np.asarray( [all …]
|
D | reverse_sequence_op_test.py | 39 truth, argument 47 self.assertAllClose(tf_ans, truth, atol=1e-10) 48 self.assertShapeEqual(truth, ans) 58 truth, argument 60 self._testReverseSequence(x, batch_axis, seq_axis, seq_lengths, truth, True, 62 self._testReverseSequence(x, batch_axis, seq_axis, seq_lengths, truth, 84 truth = truth_orig.transpose([2, 1, 0, 3, 4]) # permute axes 0 <=> 2 88 self._testBothReverseSequence(x, batch_axis, seq_axis, seq_lengths, truth)
|
D | compare_and_bitpack_op_test.py | 31 truth, argument 36 self.assertShapeEqual(truth, ans) 37 self.assertAllEqual(tf_ans, truth) 53 truth = np.packbits(x > threshold).reshape(rows, cols) 54 self._testCompareAndBitpack(x, threshold, truth)
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_EditDistance.pbtxt | 27 The indices of the truth list SparseTensor. 34 The values of the truth list SparseTensor. 41 truth indices, vector. 59 // truth represents a 2x2 matrix with variable-length values: 74 // output is a 2x2 matrix with edit distances normalized by truth lengths. 75 output = [[inf, 1.0], // (0,0): no truth, (0,1): no hypothesis 82 boolean (if true, edit distances are normalized by length of truth).
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | reverse_sequence_op_test.py | 36 truth, argument 46 self.assertAllClose(tf_ans, truth, atol=1e-10) 59 truth=expected) 80 truth = truth_orig.transpose([2, 1, 0, 3, 4]) # permute axes 0 <=> 2 84 self._testReverseSequence(x, batch_axis, seq_axis, seq_lengths, truth)
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | transport_feedback_adapter_unittest.cc | 82 void ComparePacketVectors(const std::vector<PacketInfo>& truth, in ComparePacketVectors() argument 84 ASSERT_EQ(truth.size(), input.size()); in ComparePacketVectors() 85 size_t len = truth.size(); in ComparePacketVectors() 94 truth[0].arrival_time_ms - input[0].arrival_time_ms; in ComparePacketVectors() 96 EXPECT_EQ(truth[i].arrival_time_ms, in ComparePacketVectors() 98 EXPECT_EQ(truth[i].send_time_ms, input[i].send_time_ms); in ComparePacketVectors() 99 EXPECT_EQ(truth[i].sequence_number, input[i].sequence_number); in ComparePacketVectors() 100 EXPECT_EQ(truth[i].payload_size, input[i].payload_size); in ComparePacketVectors() 101 EXPECT_EQ(truth[i].was_paced, input[i].was_paced); in ComparePacketVectors()
|
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/ |
D | README.md | 7 …generate_validation_ground_truth` script](#ground-truth-label-generation) to generate the ground t… 16 The path to the directory containing ground truth images. 19 Path to ground truth labels file. This file should contain the same number 20 of labels as the number images in the ground truth directory. The labels are 22 [ground truth label generation](#ground-truth-label-generation) section for 55 ## Ground truth label generation 57 The accuracy binary however expects the ground truth labels to contain the actual name of 58 …tead of synset ids. A conversion script has been provided to convert the validation ground truth to
|
/external/grpc-grpc-java/context/src/test/java/io/grpc/testing/ |
D | DeadlineSubject.java | 21 import static com.google.common.truth.Fact.simpleFact; 24 import com.google.common.truth.ComparableSubject; 25 import com.google.common.truth.FailureMetadata; 26 import com.google.common.truth.Subject;
|
/external/guice/extensions/testlib/src/com/google/inject/testing/throwingproviders/ |
D | CheckedProviderSubject.java | 3 import static com.google.common.truth.Truth.assertAbout; 5 import com.google.common.truth.FailureMetadata; 6 import com.google.common.truth.Subject; 7 import com.google.common.truth.ThrowableSubject;
|
/external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/validator/ |
D | SingleClassSubject.java | 3 import static com.google.common.truth.Fact.simpleFact; 4 import static com.google.common.truth.Truth.assertAbout; 9 import com.google.common.truth.FailureMetadata; 10 import com.google.common.truth.Subject;
|
/external/skia/tests/ |
D | CodecPartialTest.cpp | 63 SkBitmap truth; in test_partial() local 64 if (!create_truth(file, &truth)) { in test_partial() 81 SkASSERT(info == truth.info()); in test_partial() 122 compare_bitmaps(r, truth, incremental); in test_partial() 405 SkBitmap truth; in DEF_TEST() local 407 truth.allocPixels(info); in DEF_TEST() 409 auto result = codec->getPixels(info, truth.getPixels(), truth.rowBytes()); in DEF_TEST() 461 compare_bitmaps(r, truth, bm); in DEF_TEST()
|
/external/skqp/tests/ |
D | CodecPartialTest.cpp | 63 SkBitmap truth; in test_partial() local 64 if (!create_truth(file, &truth)) { in test_partial() 81 SkASSERT(info == truth.info()); in test_partial() 122 compare_bitmaps(r, truth, incremental); in test_partial() 405 SkBitmap truth; in DEF_TEST() local 407 truth.allocPixels(info); in DEF_TEST() 409 auto result = codec->getPixels(info, truth.getPixels(), truth.rowBytes()); in DEF_TEST() 461 compare_bitmaps(r, truth, bm); in DEF_TEST()
|
/external/sonic/samples/ |
D | test1.txt | 1 … by Mr. Mark Twain, and he told the truth, mainly. There was things which he stretched, but mainl…
|
/external/robolectric-shadows/shadowapi/ |
D | Android.mk | 28 robolectric-truth-0.42 47 robolectric-truth-0.42
|
/external/robolectric-shadows/utils/ |
D | Android.mk | 26 robolectric-truth-0.42 45 robolectric-truth-0.42
|
/external/guice/extensions/testlib/test/com/google/inject/testing/throwingproviders/ |
D | CheckedProviderSubjectTest.java | 3 import static com.google.common.truth.Truth.assertThat; 6 import com.google.common.truth.ExpectFailure; 7 import com.google.common.truth.SimpleSubjectBuilder;
|
/external/tensorflow/tensorflow/core/util/ |
D | bcast_test.cc | 322 string truth = in TEST() local 328 EXPECT_EQ(BCast({11, 1, 5, 1, 2}, {7, 1, 3, 1}), truth); in TEST() 329 EXPECT_EQ(BCast({11, 1, 5, 1, 2}, {7, 1, 3, 1}, false), truth); in TEST()
|
/external/robolectric-shadows/resources/ |
D | Android.mk | 33 robolectric-truth-0.42 58 robolectric-truth-0.42
|
/external/robolectric-shadows/ |
D | Android.mk | 85 …robolectric-truth-0.42:../../../prebuilts/tools/common/m2/repository/com/google/truth/truth/0.42/t…
|
/external/robolectric-shadows/sandbox/ |
D | Android.mk | 43 robolectric-truth-0.42 \ 74 robolectric-truth-0.42 \
|
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/staticprovides/ |
D | StaticProvidesTest.java | 29 import static com.google.common.truth.Truth.assertThat; 30 import static com.google.common.truth.Truth.assertWithMessage;
|