Home
last modified time | relevance | path

Searched refs:assert_type (Results 1 – 18 of 18) sorted by relevance

/external/skia/tests/
DRecordOptsTest.cpp47 assert_type<SkRecords::NoOp>(r, record, i); in DEF_TEST()
70 assert_type<SkRecords::NoOp>(r, record, index); in DEF_TEST()
87 assert_type<SkRecords::Save> (r, record, 0); in DEF_TEST()
88 assert_type<SkRecords::SaveLayer>(r, record, 1); in DEF_TEST()
89 assert_type<SkRecords::Restore> (r, record, 2); in DEF_TEST()
90 assert_type<SkRecords::Restore> (r, record, 3); in DEF_TEST()
93 assert_type<SkRecords::SaveLayer>(r, record, 0); in DEF_TEST()
94 assert_type<SkRecords::Restore> (r, record, 1); in DEF_TEST()
110 assert_type<SkRecords::NoOp>(r, *record, i); in assert_savelayer_restore()
111 assert_type<SkRecords::NoOp>(r, *record, i+1); in assert_savelayer_restore()
[all …]
DRecordDrawTest.cpp47 assert_type<SkRecords::DrawPaint>(r, record, 0); in DEF_TEST()
48 assert_type<SkRecords::Save> (r, record, 1); in DEF_TEST()
49 assert_type<SkRecords::Scale> (r, record, 2); in DEF_TEST()
50 assert_type<SkRecords::Restore> (r, record, 3); in DEF_TEST()
108 assert_type<SkRecords::SetM44>(r, translateRecord, 0); in DEF_TEST()
109 assert_type<SkRecords::Save> (r, translateRecord, 1); in DEF_TEST()
110 assert_type<SkRecords::SetM44>(r, translateRecord, 2); in DEF_TEST()
111 assert_type<SkRecords::Restore> (r, translateRecord, 3); in DEF_TEST()
116 setMatrix = assert_type<SkRecords::SetM44>(r, translateRecord, 0); in DEF_TEST()
119 setMatrix = assert_type<SkRecords::SetM44>(r, translateRecord, 2); in DEF_TEST()
[all …]
DRecordTest.cpp94 assert_type<SkRecords::Save >(r, record, 0); in DEF_TEST()
95 assert_type<SkRecords::ClipRect>(r, record, 1); in DEF_TEST()
96 assert_type<SkRecords::DrawRect>(r, record, 2); in DEF_TEST()
97 assert_type<SkRecords::Restore >(r, record, 3); in DEF_TEST()
DRecordTestUtils.h31 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, int index) { in assert_type() function
/external/skqp/tests/
DRecordOptsTest.cpp48 assert_type<SkRecords::NoOp>(r, record, i); in DEF_TEST()
71 assert_type<SkRecords::NoOp>(r, record, index); in DEF_TEST()
88 assert_type<SkRecords::Save> (r, record, 0); in DEF_TEST()
89 assert_type<SkRecords::SaveLayer>(r, record, 1); in DEF_TEST()
90 assert_type<SkRecords::Restore> (r, record, 2); in DEF_TEST()
91 assert_type<SkRecords::Restore> (r, record, 3); in DEF_TEST()
94 assert_type<SkRecords::SaveLayer>(r, record, 0); in DEF_TEST()
95 assert_type<SkRecords::Restore> (r, record, 1); in DEF_TEST()
111 assert_type<SkRecords::NoOp>(r, *record, i); in assert_savelayer_restore()
112 assert_type<SkRecords::NoOp>(r, *record, i+1); in assert_savelayer_restore()
[all …]
DRecordDrawTest.cpp47 assert_type<SkRecords::DrawPaint>(r, record, 0); in DEF_TEST()
48 assert_type<SkRecords::Save> (r, record, 1); in DEF_TEST()
49 assert_type<SkRecords::Concat> (r, record, 2); in DEF_TEST()
50 assert_type<SkRecords::Restore> (r, record, 3); in DEF_TEST()
108 assert_type<SkRecords::SetMatrix>(r, translateRecord, 0); in DEF_TEST()
109 assert_type<SkRecords::Save> (r, translateRecord, 1); in DEF_TEST()
110 assert_type<SkRecords::SetMatrix>(r, translateRecord, 2); in DEF_TEST()
111 assert_type<SkRecords::Restore> (r, translateRecord, 3); in DEF_TEST()
116 setMatrix = assert_type<SkRecords::SetMatrix>(r, translateRecord, 0); in DEF_TEST()
119 setMatrix = assert_type<SkRecords::SetMatrix>(r, translateRecord, 2); in DEF_TEST()
[all …]
DRecordTest.cpp94 assert_type<SkRecords::Save >(r, record, 0); in DEF_TEST()
95 assert_type<SkRecords::ClipRect>(r, record, 1); in DEF_TEST()
96 assert_type<SkRecords::DrawRect>(r, record, 2); in DEF_TEST()
97 assert_type<SkRecords::Restore >(r, record, 3); in DEF_TEST()
DRecordTestUtils.h31 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, int index) { in assert_type() function
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dkeras_test.py138 layer = mp_test_util.MultiplyLayer(assert_type=dtype)
175 layer = MultiplyLayerWithoutAutoCast(assert_type=dtypes.float16)
187 layer = MultiplyLayerWithFunction(assert_type=dtypes.float16)
201 assert_type=dtypes.float16,
211 assert_type=dtypes.float16,
225 assert_type=dtypes.float16, dtype=policy.Policy('mixed_float16'))
233 assert_type=dtypes.float64, dtype=policy.Policy('float64'))
255 layer = mp_test_util.MultiplyLayer(assert_type=dtypes.float16)
296 layer = mp_test_util.MultiplyLayer(assert_type=save_input_dtype)
308 layer = mp_test_util.MultiplyLayer(assert_type=load_input_dtype)
[all …]
Dtest_util.py113 def __init__(self, assert_type=None, **kwargs): argument
114 self._assert_type = (dtypes.as_dtype(assert_type).name if assert_type
/external/tensorflow/tensorflow/python/feature_column/
Dsequence_feature_column.py66 seq_type_check = check_ops.assert_type(
76 ctx_type_check = check_ops.assert_type(
/external/tensorflow/tensorflow/python/ops/
Dcheck_ops.py1064 assert_type(rank, dtypes.int32)
1327 assert_type(rank, dtypes.int32)
1532 assert_type(tensor=tensor, tf_type=tf_type, message=message, name=name)
1538 def assert_type(tensor, tf_type, message=None, name=None): function
Dmetrics_impl.py1502 check_ops.assert_type(values, dtypes.bool)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.debugging.pbtxt92 name: "assert_type"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.debugging.pbtxt92 name: "assert_type"
Dtensorflow.pbtxt880 name: "assert_type"
/external/tensorflow/tensorflow/python/kernel_tests/
Dcheck_ops_test.py1527 check_ops.assert_type(integers, dtypes.int64)]):
1539 [check_ops.assert_type(sparse_float, dtypes.float32)]):
1549 check_ops.assert_type(floats, dtypes.float32)
1558 check_ops.assert_type(sparse_float16, dtypes.float32)
1566 check_ops.assert_type(value, (dtypes.float32,))
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_test.py1277 (inputs.dtype.name, self.assert_type))