Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/random/
Ddistribution_sampler_test.cc79 TestDistribution(kEven2, TF_ARRAYSIZE(kEven2)); in TEST_F()
80 TestDistribution(kEven3, TF_ARRAYSIZE(kEven3)); in TEST_F()
81 TestDistribution(kEven4, TF_ARRAYSIZE(kEven4)); in TEST_F()
82 TestDistribution(kDist1, TF_ARRAYSIZE(kDist1)); in TEST_F()
Dweighted_picker_test.cc104 TestPickAt(TF_ARRAYSIZE(weights), weights); in TEST()
/external/tensorflow/tensorflow/core/lib/gtl/
Diterator_range_test.cc56 ASSERT_LT(index, TF_ARRAYSIZE(v)); in TEST()
68 ASSERT_LT(index, TF_ARRAYSIZE(v)); in TEST()
/external/tensorflow/tensorflow/core/lib/core/
Darena_test.cc33 for (size_t i = 0; i < TF_ARRAYSIZE(tmp); i++) { in TestMemory()
40 for (size_t i = 0; i < TF_ARRAYSIZE(tmp); i++) { in TestMemory()
Darena.cc139 if (blocks_alloced_ < TF_ARRAYSIZE(first_blocks_)) { in AllocNewBlock()
/external/tensorflow/tensorflow/core/kernels/
Dsubstr_op_test.cc116 const int sz = TF_ARRAYSIZE(ascii_lines); in GetTestTensor()
126 const int sz = TF_ARRAYSIZE(unicode_lines); in GetTestUTF8Tensor()
Dstring_split_op_test.cc58 const int sz = TF_ARRAYSIZE(lines); in GetTestTensor()
Dregex_replace_op_test.cc61 const int sz = TF_ARRAYSIZE(lines); in GetTestTensor()
/external/tensorflow/tensorflow/c/
Dc_api_test.cc1093 TF_SessionPRunSetup(sess, feeds, TF_ARRAYSIZE(feeds), fetches, in TEST()
1094 TF_ARRAYSIZE(fetches), nullptr, 0, &handle, s); in TEST()
1140 Int8Tensor(vec2_dims, TF_ARRAYSIZE(vec2_dims), data), TF_DeleteTensor); in TEST()
1146 Int8Tensor(vec3_dims, TF_ARRAYSIZE(vec3_dims), data), TF_DeleteTensor); in TEST()
1210 TF_AddInputList(desc_, inputs, TF_ARRAYSIZE(inputs)); in SetUp()
2033 const size_t list_size = TF_ARRAYSIZE(list); in TEST_F()
2064 const size_t list_size = TF_ARRAYSIZE(list); in TEST_F()
2095 const size_t list_size = TF_ARRAYSIZE(list); in TEST_F()
2126 const size_t list_size = TF_ARRAYSIZE(list); in TEST_F()
2153 const size_t sz = TF_ARRAYSIZE(partial_shape); in TEST_F()
[all …]
Dc_api_function_test.cc1693 TF_AddInputList(desc, inputs, TF_ARRAYSIZE(inputs)); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/
Dparse_flags_from_env_test.cc89 for (int i = 0; i != TF_ARRAYSIZE(kTempVars) && tmp_dir == nullptr; i++) { in TEST()
127 for (int i = 0; i != TF_ARRAYSIZE(test); i++) { in TEST()
Dliteral_test.cc993 std::vector<int64> source_indexes(TF_ARRAYSIZE(dimensions), 0); in TEST_F()
994 std::vector<int64> blank_indexes(TF_ARRAYSIZE(dimensions), 0); in TEST_F()
/external/tensorflow/tensorflow/core/graph/
Dcolors.cc38 return kColors[dindex % TF_ARRAYSIZE(kColors)]; in ColorFor()
/external/tensorflow/tensorflow/contrib/ffmpeg/
Ddecode_audio_op.cc146 kValidFileFormats, kValidFileFormats + TF_ARRAYSIZE(kValidFileFormats)); in Compute()
225 kValidFileFormats, kValidFileFormats + TF_ARRAYSIZE(kValidFileFormats)); in DecodeAudioOp()
/external/tensorflow/tensorflow/core/platform/
Dmacros.h104 #define TF_ARRAYSIZE(a) \ macro
/external/tensorflow/tensorflow/core/lib/strings/
Dnumbers.cc452 CHECK(unit < units + TF_ARRAYSIZE(units)); in HumanReadableNum()
484 CHECK(unit < units + TF_ARRAYSIZE(units)); in HumanReadableNumBytes()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_driver.cc612 CHECK(TF_ARRAYSIZE(options) == TF_ARRAYSIZE(option_values)); in LoadPtx()
619 res = cuModuleLoadDataEx(module, ptx_data, TF_ARRAYSIZE(options), options, in LoadPtx()
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen_internal.cc711 for (size_t i = 0; i < TF_ARRAYSIZE(kAttrTypeName); ++i) { in AddDocStringAttrs()