Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbatch_resource_base.h119 std::vector<int32> allowed_batch_sizes) in BatchResourceBase() argument
123 allowed_batch_sizes_(std::move(allowed_batch_sizes)) { in BatchResourceBase()
130 std::vector<int32> allowed_batch_sizes) in BatchResourceBase() argument
134 allowed_batch_sizes_(std::move(allowed_batch_sizes)) {} in BatchResourceBase()
138 int32 max_enqueued_batches, const std::vector<int32>& allowed_batch_sizes,
144 const std::vector<int32>& allowed_batch_sizes);
Dbatch_resource_base.cc111 void RecordBatchParamAllowedBatchSizes(const string& allowed_batch_sizes, in RecordBatchParamAllowedBatchSizes() argument
118 cell->GetCell(model_name, op_name)->Set(allowed_batch_sizes); in RecordBatchParamAllowedBatchSizes()
229 int32 max_enqueued_batches, const std::vector<int32>& allowed_batch_sizes, in GetBatcherQueueOptions() argument
246 if (allowed_batch_sizes.empty()) { in GetBatcherQueueOptions()
250 *allowed_batch_sizes.rbegin(); in GetBatcherQueueOptions()
261 const std::vector<int32>& allowed_batch_sizes) { in GetAdaptiveBatcherQueueOptions() argument
267 if (allowed_batch_sizes.empty()) { in GetAdaptiveBatcherQueueOptions()
270 batcher_queue_options.max_batch_size = *allowed_batch_sizes.rbegin(); in GetAdaptiveBatcherQueueOptions()
/external/tensorflow/tensorflow/python/ops/
Dbatch_ops.py35 allowed_batch_sizes=None, argument
111 allowed_batch_sizes=allowed_batch_sizes,
Dbatch_ops_test.py106 allowed_batch_sizes=[5, 10],
195 allowed_batch_sizes=[3, 10],
396 allowed_batch_sizes=[3, 10],
458 allowed_batch_sizes=[1, 2],
/external/tensorflow/tensorflow/core/kernels/
Dbatch_kernels.cc88 const std::vector<int32>& allowed_batch_sizes, in Create() argument
102 allowed_batch_sizes, in Create()
104 allowed_batch_sizes)); in Create()
111 int32 max_enqueued_batches, const std::vector<int32>& allowed_batch_sizes, in Create() argument
122 true /* enable large batch split */, allowed_batch_sizes), in Create()
123 allowed_batch_sizes)); in Create()
133 std::vector<int32> allowed_batch_sizes) in BatchResource() argument
137 std::move(allowed_batch_sizes)), in BatchResource()
145 std::vector<int32> allowed_batch_sizes) in BatchResource() argument
149 std::move(allowed_batch_sizes)), in BatchResource()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DBatch.pbtxt32 name: "allowed_batch_sizes"
109 name: "allowed_batch_sizes"
DBatchFunction.pbtxt39 name: "allowed_batch_sizes"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DBatch.pbtxt32 name: "allowed_batch_sizes"
109 name: "allowed_batch_sizes"
DBatchFunction.pbtxt39 name: "allowed_batch_sizes"
123 name: "allowed_batch_sizes"
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_BatchFunction.pbtxt49 name: "allowed_batch_sizes"
94 `allowed_batch_sizes`) will be splitted into multiple batches with batch size.
118 allowed_batch_sizes=[3, 10],
Dapi_def_Batch.pbtxt28 allowed_batch_sizes: Optional list of allowed batch sizes. If left empty, does
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.pbtxt837 …m_batch_threads\', \'max_batch_size\', \'batch_timeout_micros\', \'allowed_batch_sizes\', \'max_en…
Dtensorflow.raw_ops.pbtxt317 …out_micros\', \'grad_timeout_micros\', \'max_enqueued_batches\', \'allowed_batch_sizes\', \'contai…
349 …', \'batch_timeout_micros\', \'Tout\', \'max_enqueued_batches\', \'allowed_batch_sizes\', \'contai…
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops.td1333 allowed_batch_sizes=[3, 10],
1362 DefaultValuedAttr<I64ArrayAttr, "{}">:$allowed_batch_sizes,
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.pbtxt1737 …m_batch_threads\', \'max_batch_size\', \'batch_timeout_micros\', \'allowed_batch_sizes\', \'max_en…
Dtensorflow.raw_ops.pbtxt317 …out_micros\', \'grad_timeout_micros\', \'max_enqueued_batches\', \'allowed_batch_sizes\', \'contai…
349 …', \'batch_timeout_micros\', \'Tout\', \'max_enqueued_batches\', \'allowed_batch_sizes\', \'contai…
/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt3329 name: "allowed_batch_sizes"
3570 name: "allowed_batch_sizes"
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v2.pbtxt8799 name: "allowed_batch_sizes"
8876 name: "allowed_batch_sizes"
9133 name: "allowed_batch_sizes"