Home
last modified time | relevance | path

Searched refs:batch_group_count (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dconvolution_group_converter.cc205 int64 batch_group_count = convolution->batch_group_count(); in HandleBatchGroupCount() local
207 if (batch_group_count == 1) { in HandleBatchGroupCount()
211 VLOG(2) << "Dealing with batch_group_count " << batch_group_count in HandleBatchGroupCount()
225 TF_RET_CHECK(input_batch == batch_group_count); in HandleBatchGroupCount()
236 output_feature_dimension, batch_group_count, add); in HandleBatchGroupCount()
238 convolution->shape(), batch_group_count, output_batch_dimension); in HandleBatchGroupCount()
293 dim->set_stride(batch_group_count); in HandleBatchGroupCount()
294 dim->set_size(batch_group_count); in HandleBatchGroupCount()
Dshape_inference.cc1573 int64 batch_group_count, const Window& window, in InferConvolveShape() argument
1584 if (batch_group_count <= 0) { in InferConvolveShape()
1587 batch_group_count); in InferConvolveShape()
1590 if (batch_group_count > 1 && feature_group_count > 1) { in InferConvolveShape()
1594 batch_group_count, feature_group_count); in InferConvolveShape()
1710 if (batch_group_count > 1 && input_batch % kernel_output_features != 0) { in InferConvolveShape()
1716 input_batch, kernel_output_features, batch_group_count, in InferConvolveShape()
1751 if (input_batch % batch_group_count > 0) { in InferConvolveShape()
1757 input_batch, batch_group_count, ShapeUtil::HumanString(lhs), in InferConvolveShape()
1783 dimensions[dnums.output_batch_dimension()] = input_batch / batch_group_count; in InferConvolveShape()
Dhlo_instructions.h1033 int64 feature_group_count, int64 batch_group_count, const Window& window,
1051 int64 batch_group_count() const { return batch_group_count_; } in batch_group_count() function
1206 void set_batch_group_count(int64 batch_group_count) { in set_batch_group_count() argument
1207 batch_group_count_ = batch_group_count; in set_batch_group_count()
1210 int64 batch_group_count() const { return batch_group_count_; } in batch_group_count() function
Dtranspose_folding.cc179 convolution.batch_group_count(), convolution.window(), new_dnums, in FoldTransposeIntoConvolution()
Dhlo_instruction.cc424 std::max<int64>(proto.batch_group_count(), 1), proto.window(), in CreateFromProto()
475 std::max(static_cast<int64>(proto.batch_group_count()), 1LL)); in CreateFromProto()
782 int64 feature_group_count, int64 batch_group_count, const Window& window, in CreateConvolve() argument
786 shape, lhs, rhs, feature_group_count, batch_group_count, window, in CreateConvolve()
3472 int64 HloInstruction::batch_group_count() const { in batch_group_count() function in xla::HloInstruction
3474 return convolution->batch_group_count(); in batch_group_count()
3476 return Cast<HloCustomCallInstruction>(this)->batch_group_count(); in batch_group_count()
3479 void HloInstruction::set_batch_group_count(int64 batch_group_count) { in set_batch_group_count() argument
3481 batch_group_count); in set_batch_group_count()
Dhlo_instruction.h439 int64 feature_group_count, int64 batch_group_count, const Window& window,
1564 int64 batch_group_count() const;
1566 void set_batch_group_count(int64 batch_group_count);
Dshape_inference.h112 int64 batch_group_count, const Window& window,
Dhlo_parser.cc1068 optional<int64> batch_group_count; in ParseInstructionRhs() local
1075 &batch_group_count}; in ParseInstructionRhs()
1089 if (!batch_group_count) { in ParseInstructionRhs()
1090 batch_group_count = 1; in ParseInstructionRhs()
1102 feature_group_count.value(), batch_group_count.value(), *window, in ParseInstructionRhs()
1489 optional<int64> batch_group_count; in ParseInstructionRhs() local
1500 &batch_group_count}; in ParseInstructionRhs()
1556 if (batch_group_count.has_value()) { in ParseInstructionRhs()
1557 instruction->set_batch_group_count(*batch_group_count); in ParseInstructionRhs()
Dhlo_evaluator_typed_visitor.h1040 conv->batch_group_count(), window, dnums)); in HandleConvolution()
1064 const int64 batch_group_count = conv->batch_group_count(); in HandleConvolution() local
1069 batch_group_count](const absl::Span<const int64> out_index) { in HandleConvolution()
1086 const int64 batch_group_size = input_batch_size / batch_group_count; in HandleConvolution()
Dhlo_cost_analysis.cc529 (batch / convolution->batch_group_count()) * in HandleConvolution()
Dhlo_instructions.cc1856 int64 feature_group_count, int64 batch_group_count, const Window& window, in HloConvolutionInstruction() argument
1861 batch_group_count_(batch_group_count), in HloConvolutionInstruction()
1930 if (batch_group_count_ != other.batch_group_count()) { in IdenticalSlowPath()
Dhlo.proto86 int64 batch_group_count = 58; field
Dhlo_verifier.cc159 convolution->feature_group_count(), convolution->batch_group_count(), in HandleConvolution()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h385 int64 feature_group_count = 1, int64 batch_group_count = 1,
392 int64 feature_group_count = 1, int64 batch_group_count = 1,
399 int64 feature_group_count = 1, int64 batch_group_count = 1,
406 int64 feature_group_count = 1, int64 batch_group_count = 1,
416 int64 batch_group_count = 1,
783 int64 feature_group_count, int64 batch_group_count,
789 int64 feature_group_count, int64 batch_group_count,
795 int64 feature_group_count, int64 batch_group_count,
801 int64 feature_group_count, int64 batch_group_count,
810 int64 feature_group_count, int64 batch_group_count,
[all …]
Dxla_builder.cc1101 int64 feature_group_count, int64 batch_group_count, in Conv() argument
1106 feature_group_count, batch_group_count, precision_config); in Conv()
1112 int64 feature_group_count, int64 batch_group_count, in ConvWithGeneralPadding() argument
1116 feature_group_count, batch_group_count, precision_config); in ConvWithGeneralPadding()
1122 int64 feature_group_count, int64 batch_group_count, in ConvWithGeneralDimensions() argument
1151 batch_group_count, precision_config); in ConvWithGeneralDimensions()
1159 int64 feature_group_count, int64 batch_group_count, in ConvGeneral() argument
1163 batch_group_count, precision_config); in ConvGeneral()
1171 int64 feature_group_count, int64 batch_group_count, in ConvGeneralDilated() argument
1194 batch_group_count, instr.window(), dimension_numbers)); in ConvGeneralDilated()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dconv_canonicalization.cc135 hlo->batch_group_count(), hlo->window(), new_dnums, in Run()
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Doperation_semantics.md621 | `batch_group_count` | int64 | the number of batch |
692 The `batch_group_count` (default value 1) argument can be used for depthwise
693 filters during backpropagation. `batch_group_count` needs to be a divisor of the
694 size of the `lhs` (input) batch dimension. If `batch_group_count` is greater
696 `batch_group_size` where `batch_group_size = input batch / batch_group_count`.
697 For convolutions with `batch_group_count` greater than 1, the input batch size
699 that the output feature size must be equal to batch_group_count. Conceptually,
706 * `batch`: The size of this dimension times `batch_group_count` should equal