Home
last modified time | relevance | path

Searched refs:max_elements (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/
Dweighted_quantiles_stream_test.cc58 void GenerateFixedUniformSummary(int32 worker_id, int64 max_elements, in GenerateFixedUniformSummary() argument
60 for (int64 i = 0; i < max_elements; ++i) { in GenerateFixedUniformSummary()
61 const double x = static_cast<double>(i) / max_elements; in GenerateFixedUniformSummary()
68 void GenerateFixedNonUniformSummary(int32 worker_id, int64 max_elements, in GenerateFixedNonUniformSummary() argument
70 for (int64 i = 0; i < max_elements; ++i) { in GenerateFixedNonUniformSummary()
71 const double x = static_cast<double>(i) / max_elements; in GenerateFixedNonUniformSummary()
78 void GenerateRandUniformFixedWeightsSummary(int32 worker_id, int64 max_elements, in GenerateRandUniformFixedWeightsSummary() argument
84 for (int64 i = 0; i < max_elements; ++i) { in GenerateRandUniformFixedWeightsSummary()
92 void GenerateRandUniformRandWeightsSummary(int32 worker_id, int64 max_elements, in GenerateRandUniformRandWeightsSummary() argument
98 for (int64 i = 0; i < max_elements; ++i) { in GenerateRandUniformRandWeightsSummary()
[all …]
Dweighted_quantiles_stream.h72 explicit WeightedQuantilesStream(double eps, int64 max_elements) in WeightedQuantilesStream() argument
77 std::tie(max_levels_, block_size_) = GetQuantileSpecs(eps, max_elements); in WeightedQuantilesStream()
78 buffer_ = Buffer(block_size_, max_elements); in WeightedQuantilesStream()
208 int64 max_elements);
294 double eps, int64 max_elements) { in GetQuantileSpecs() argument
298 QCHECK_GT(max_elements, 0); in GetQuantileSpecs()
303 block_size = std::max(max_elements, int64{2}); in GetQuantileSpecs()
317 (1LL << max_level) * block_size < max_elements; ++max_level) { in GetQuantileSpecs()
Dweighted_quantiles_buffer.h54 explicit WeightedQuantilesBuffer(int64 block_size, int64 max_elements) in WeightedQuantilesBuffer() argument
55 : max_size_(std::min(block_size << 1, max_elements)) { in WeightedQuantilesBuffer()
57 << ", " << max_elements << ")"; in WeightedQuantilesBuffer()
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_stream_test.cc57 void GenerateFixedUniformSummary(int32 worker_id, int64 max_elements, in GenerateFixedUniformSummary() argument
59 for (int64 i = 0; i < max_elements; ++i) { in GenerateFixedUniformSummary()
60 const double x = static_cast<double>(i) / max_elements; in GenerateFixedUniformSummary()
67 void GenerateFixedNonUniformSummary(int32 worker_id, int64 max_elements, in GenerateFixedNonUniformSummary() argument
69 for (int64 i = 0; i < max_elements; ++i) { in GenerateFixedNonUniformSummary()
70 const double x = static_cast<double>(i) / max_elements; in GenerateFixedNonUniformSummary()
77 void GenerateRandUniformFixedWeightsSummary(int32 worker_id, int64 max_elements, in GenerateRandUniformFixedWeightsSummary() argument
83 for (int64 i = 0; i < max_elements; ++i) { in GenerateRandUniformFixedWeightsSummary()
91 void GenerateRandUniformRandWeightsSummary(int32 worker_id, int64 max_elements, in GenerateRandUniformRandWeightsSummary() argument
97 for (int64 i = 0; i < max_elements; ++i) { in GenerateRandUniformRandWeightsSummary()
[all …]
Dweighted_quantiles_stream.h72 explicit WeightedQuantilesStream(double eps, int64 max_elements) in WeightedQuantilesStream() argument
77 std::tie(max_levels_, block_size_) = GetQuantileSpecs(eps, max_elements); in WeightedQuantilesStream()
78 buffer_ = Buffer(block_size_, max_elements); in WeightedQuantilesStream()
208 int64 max_elements);
294 double eps, int64 max_elements) { in GetQuantileSpecs() argument
298 QCHECK_GT(max_elements, 0); in GetQuantileSpecs()
303 block_size = std::max(max_elements, int64{2}); in GetQuantileSpecs()
317 (1LL << max_level) * block_size < max_elements; ++max_level) { in GetQuantileSpecs()
Dquantile_stream_resource.h34 const int64 max_elements, in BoostedTreesQuantileStreamResource() argument
39 max_elements_(max_elements) { in BoostedTreesQuantileStreamResource()
43 streams_.push_back(QuantileStream(epsilon, max_elements)); in BoostedTreesQuantileStreamResource()
Dweighted_quantiles_buffer.h54 explicit WeightedQuantilesBuffer(int64 block_size, int64 max_elements) in WeightedQuantilesBuffer() argument
55 : max_size_(std::min(block_size << 1, max_elements)) { in WeightedQuantilesBuffer()
57 << ", " << max_elements << ")"; in WeightedQuantilesBuffer()
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/
Dquantile_ops_test.py41 def create_resource(self, name, eps, max_elements, num_streams=1): argument
47 max_elements=max_elements,
83 self.max_elements = 1 << 16
89 self.max_elements, 2)
113 self.max_elements)
115 self.max_elements)
/external/tensorflow/tensorflow/contrib/boosted_trees/resources/
Dquantile_stream_resource.h35 const int64 max_elements, bool generate_quantiles, in QuantileStreamResource() argument
37 : stream_(epsilon, max_elements), in QuantileStreamResource()
41 max_elements_(max_elements), in QuantileStreamResource()
/external/tensorflow/tensorflow/contrib/boosted_trees/python/ops/
Dquantile_ops.py96 max_elements=None, argument
115 self._max_elements = max_elements
141 max_elements=self._max_elements,
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_BoostedTreesCreateQuantileStreamResource.pbtxt23 name: "max_elements"
/external/mesa3d/src/compiler/glsl/
Dopt_dead_builtin_varyings.cpp355 int max_elements, unsigned start_location, in prepare_array() argument
361 for (int i = max_elements-1; i >= 0; i--) { in prepare_array()
/external/tensorflow/tensorflow/contrib/losses/python/metric_learning/
Dmetric_loss_ops.py461 max_elements = math_ops.maximum(
466 array_ops.transpose(max_elements), [-1, 1])
475 loss_mat = max_elements + math_ops.log(
/external/tensorflow/tensorflow/compiler/xla/
Dliteral.h1062 int64 max_elements = LayoutUtil::MaxSparseElements(shape().layout()); in PopulateSparse() local
1063 CHECK_LE(indices.max_indices(), max_elements); in PopulateSparse()
1065 CHECK_LE(num_elements, max_elements); in PopulateSparse()
/external/tensorflow/tensorflow/python/ops/
Dboosted_trees_ops.py104 max_elements=None): argument
/external/tensorflow/tensorflow/contrib/autograph/examples/notebooks/
Dgraph_vs_ag_vs_eager_sum_speed_test.ipynb105 "max_elements = 2"
137 "max_elements = 100 # Vectors of size 0 to this-1 will be executed and plotted"
206 "for num in range(max_elements):\n",
317 "for num in range(max_elements):\n",
436 "for num in range(max_elements):\n",
/external/v8/src/builtins/
Dbuiltins-internal-gen.cc85 int max_elements = FixedArray::GetMaxLengthForNewSpaceAllocation(kind); in TF_BUILTIN() local
87 Branch(IntPtrLessThan(length, IntPtrConstant(max_elements)), &if_newspace, in TF_BUILTIN()
/external/epid-sdk/epid/common/math/src/
Dpairing.c103 static EpidStatus Ternary(int* s, int* n, int max_elements, BigNum const* x);
1438 static EpidStatus Ternary(int* s, int* n, int max_elements, BigNum const* x) { in Ternary() argument
1478 if (num_bits + 1 > max_elements) { in Ternary()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.raw_ops.pbtxt445 …[\'quantile_stream_resource_handle\', \'epsilon\', \'num_streams\', \'max_elements\', \'name\'], v…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.raw_ops.pbtxt445 …[\'quantile_stream_resource_handle\', \'epsilon\', \'num_streams\', \'max_elements\', \'name\'], v…
/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt4514 name: "max_elements"
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v2.pbtxt11728 name: "max_elements"
Dops_history.v1.pbtxt11728 name: "max_elements"