HomeSort by relevance Sort by last modified time
    Searched refs:compute_func (Results 1 - 5 of 5) sorted by null

  /external/tensorflow/tensorflow/core/platform/cloud/
expiring_lru_cache_test.cc 94 ExpiringLRUCache<int>::ComputeFunc compute_func = local
103 TF_EXPECT_OK(cache1.LookupOrCompute("a", &value, compute_func));
107 TF_EXPECT_OK(cache1.LookupOrCompute("a", &value, compute_func));
117 TF_EXPECT_OK(cache2.LookupOrCompute("a", &value, compute_func));
120 // Re-read, exepct no additional function compute_func calls.
121 TF_EXPECT_OK(cache2.LookupOrCompute("a", &value, compute_func));
126 TF_EXPECT_OK(cache2.LookupOrCompute("b", &value, compute_func));
129 TF_EXPECT_OK(cache2.LookupOrCompute("c", &value, compute_func));
132 TF_EXPECT_OK(cache2.LookupOrCompute("d", &value, compute_func));
135 TF_EXPECT_OK(cache2.LookupOrCompute("e", &value, compute_func));
    [all...]
expiring_lru_cache.h 68 /// found, call `compute_func`. If `compute_func` returns successfully, store
71 const ComputeFunc& compute_func) {
73 return compute_func(key, value);
84 Status s = compute_func(key, value);
gcs_file_system.cc 962 StatCache::ComputeFunc compute_func = [this, &bucket, &object]( local
1034 StatCache::ComputeFunc compute_func = [this](const string& dirname, local
1069 MatchingPathsCache::ComputeFunc compute_func = local
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/tests/
half_test.cc 45 std::function<half(half)> compute_func; member in struct:xla::__anon39071::UnaryOpTestParam
59 std::function<half(half)> compute_func = GetParam().compute_func; local
62 expected.push_back(compute_func(x[i]));
108 std::function<bool(half)> compute_func; member in struct:xla::__anon39071::UnaryPredTestParam
123 std::function<bool(half)> compute_func = GetParam().compute_func; local
127 expected[i] = compute_func(x[i]);
146 std::function<half(half, half)> compute_func; member in struct:xla::__anon39071::BinaryOpTestParam
165 std::function<half(half, half)> compute_func = GetParam().compute_func local
206 std::function<bool(half, half)> compute_func; member in struct:xla::__anon39071::BinaryPredTestParam
226 std::function<bool(half, half)> compute_func = GetParam().compute_func; local
    [all...]
  /external/speex/libspeex/
resample.c 241 static double compute_func(float x, struct FuncDef *func) function
268 printf ("%f\n", compute_func(i/256., KAISER12));
285 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func));
298 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func);
    [all...]

Completed in 99 milliseconds