Home
last modified time | relevance | path

Searched refs:parameter_shape (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dlayout_util.cc169 for (auto& parameter_shape : *program_shape->mutable_parameters()) { in SetToDefaultLayout()
170 LayoutUtil::SetToDefaultLayout(&parameter_shape); in SetToDefaultLayout()
269 for (auto& parameter_shape : *program_shape->mutable_parameters()) { in ClearLayout()
270 LayoutUtil::ClearLayout(&parameter_shape); in ClearLayout()
308 for (auto& parameter_shape : program_shape.parameters()) { in HasLayout() local
309 if (!LayoutUtil::HasLayout(parameter_shape)) { in HasLayout()
/external/tensorflow/tensorflow/core/tpu/
Dtpu_embedding_optimization_parameters_utils.cc374 shape_inference::ShapeHandle parameter_shape; in operator ()() local
375 TF_RETURN_IF_ERROR(c->WithRank(c->input(0), 2, &parameter_shape)); in operator ()()
380 TF_RETURN_IF_ERROR(c->Merge(parameter_shape, accumulator_j_shape, &merged)); in operator ()()
/external/tensorflow/tensorflow/compiler/xla/service/
Dcomputation_layout.h72 const Shape& parameter_shape(int64 param_no) const { in parameter_shape() function
Dhlo_module.cc344 const Shape& parameter_shape = in CreateFromProto() local
347 parameter_shape)) in CreateFromProto()
352 << ", actual: " << ShapeUtil::HumanStringWithLayout(parameter_shape); in CreateFromProto()
Dlayout_assignment.cc581 body_layout.parameter_shape(0))); in AddMandatoryConstraints()
583 condition_layout.parameter_shape(0))); in AddMandatoryConstraints()
640 branch_computation_layout.parameter_shape(0), instruction, k + 1, in AddMandatoryConstraints()
645 best_branch_computation_layout.parameter_shape(0), instruction, in AddMandatoryConstraints()
2065 computed_computation_layout.parameter_shape(i), shape_index); in PropagateComputationLayouts()
2148 ShapeUtil::Compatible(entry_computation_layout_->parameter_shape(i), in Run()
Dhlo_verifier.cc646 const Shape& parameter_shape = to_apply.parameters(i); in SameElementTypesForOperandsAndToApplyParameters() local
648 if (!ShapeUtil::SameElementType(parameter_shape, operand_shape)) { in SameElementTypesForOperandsAndToApplyParameters()
1302 ShapeUtil::ValidateShapeWithOptionalLayout(layout.parameter_shape(i))); in VerifyEntryComputationLayout()
1303 if (!ShapeUtil::Compatible(parameter->shape(), layout.parameter_shape(i))) { in VerifyEntryComputationLayout()
1309 ShapeUtil::HumanString(layout.parameter_shape(i))); in VerifyEntryComputationLayout()
Dshape_inference.cc1187 const Shape& parameter_shape = to_apply.parameters(i); in InferMapShape() local
1189 if (!ShapeUtil::IsScalar(parameter_shape)) { in InferMapShape()
1193 i, ShapeUtil::HumanString(parameter_shape)); in InferMapShape()
1196 if (!ShapeUtil::SameElementTypeIgnoringFpPrecision(parameter_shape, in InferMapShape()
1201 i, ShapeUtil::HumanString(parameter_shape), in InferMapShape()
Dservice.cc856 executable->module_config().entry_computation_layout().parameter_shape( in Execute()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_util.h74 bool InputShapeMatches(const xla::Shape& parameter_shape,
Dxrt_util.cc224 bool InputShapeMatches(const xla::Shape& parameter_shape, in InputShapeMatches() argument
250 return xla::ShapeUtil::ForEachSubshapeWithStatus(parameter_shape, in InputShapeMatches()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_execute_op.cc83 !computation_layout.parameter_shape(i).is_static()); in GetDynamicInputInfo()
97 [&](int64 i) { return computation_layout.parameter_shape(i); }, in GetInputTuples()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc5209 Shape parameter_shape = TypeToShape(parameter.getType()); in NumInputsInvolveInOnlyElementwiseOps() local
5210 return ShapeUtil::SameDimensions(op_shape, parameter_shape) && in NumInputsInvolveInOnlyElementwiseOps()
5222 Shape parameter_shape = TypeToShape(parameter.getType()); in NumInputsWithMoreElementsThan() local
5223 return ShapeUtil::ElementsIn(parameter_shape) > num_elements; in NumInputsWithMoreElementsThan()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc537 const Shape& parameter_shape = program_shape.parameters(alias.param_number); in PopulateInputOutputAlias() local
538 if (!ShapeUtil::IndexIsValid(parameter_shape, alias.param_index)) { in PopulateInputOutputAlias()
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dspmd_partitioner.cc3704 old_entry_layout.parameter_shape(i), in Run()