Home
last modified time | relevance | path

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

/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/skia/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/experimental/
Dkeras_test.py51 def __init__(self, assert_type=None, **kwargs): argument
52 self._assert_type = assert_type
152 layer = AddLayer(assert_type=dtypes.float16)
165 layer = AddLayerWithoutAutoCast(assert_type=dtypes.float16)
179 layer = AddLayer(assert_type=dtypes.float16,
188 layer = AddLayerWithoutAutoCast(assert_type=dtypes.float16,
202 layer = AddLayer(assert_type=dtypes.float16,
210 layer = AddLayer(assert_type=dtypes.float16,
224 layer = AddLayer(assert_type=dtypes.float16)
274 layer = AddLayer(assert_type=dtypes.float16, use_operator=use_operator,
[all …]
/external/tensorflow/tensorflow/python/feature_column/
Dsequence_feature_column.py176 seq_type_check = check_ops.assert_type(
186 ctx_type_check = check_ops.assert_type(
/external/tensorflow/tensorflow/contrib/feature_column/python/feature_column/
Dsequence_feature_column.py162 seq_type_check = check_ops.assert_type(
172 ctx_type_check = check_ops.assert_type(
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Ddynamic_rnn_estimator.py147 seq_type_check = check_ops.assert_type(
157 ctx_type_check = check_ops.assert_type(
/external/tensorflow/tensorflow/python/ops/
Dcheck_ops.py1047 assert_type(rank, dtypes.int32)
1287 assert_type(rank, dtypes.int32)
1473 assert_type(tensor=tensor, tf_type=tf_type, message=message, name=name)
1478 def assert_type(tensor, tf_type, message=None, name=None): function
Dmetrics_impl.py1474 check_ops.assert_type(values, dtypes.bool)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.debugging.pbtxt84 name: "assert_type"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.debugging.pbtxt84 name: "assert_type"
Dtensorflow.pbtxt844 name: "assert_type"
/external/tensorflow/tensorflow/python/kernel_tests/
Dcheck_ops_test.py1449 check_ops.assert_type(integers, dtypes.int64)]):
1457 check_ops.assert_type(floats, dtypes.float32)
/external/tensorflow/tensorflow/contrib/metrics/python/ops/
Dmetric_ops.py1592 check_ops.assert_type(labels, dtypes.bool)