- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getParams (0.36 sec)
-
tensorflow/compiler/mlir/lite/transforms/optimize.cc
PatternRewriter &rewriter) const override { auto result_value = gather_nd_first.getResult(); auto params_value = gather_nd_first.getParams(); auto indices_value = gather_nd_first.getIndices(); auto result_type = dyn_cast<RankedTensorType>(result_value.getType()); auto params_type = dyn_cast<RankedTensorType>(params_value.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
DenseIntElementsAttr axis_attr; if (matchPattern(op.getAxis(), m_Constant(&axis_attr))) { int64_t axis = (*axis_attr.begin()).getSExtValue(); if (auto ty = mlir::dyn_cast<RankedTensorType>(op.getParams().getType())) { int64_t rank = ty.getRank(); if (axis >= rank || axis < -rank) return op.emitOpError() << "axis (" << axis << ") must be in range ["
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
return req; } return {}; } ValuePort ComputeInputComponentFor(GatherV2Op op, ArrayRef<unsigned int> port) { if (port.size() != 2) return {}; assert(port[0] == 0); auto params = op.getParams(); auto params_ty = mlir::dyn_cast<RankedTensorType>(params.getType()); if (!params_ty || !params_ty.hasStaticShape() || params_ty.getRank() != 1 || op.getBatchDims() != 0) { return {}; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
// Gather op //===----------------------------------------------------------------------===// LogicalResult GatherOp::verify() { GatherOp op = *this; ShapedType params_type = op.getParams().getType().cast<ShapedType>(); // TFLite gather kernel supports 1D string input only. if (params_type.getElementType().isa<mlir::TF::StringType>()) { if (params_type.hasRank() && params_type.getRank() != 1) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt
Method <org.gradle.api.ActionConfiguration.getParams()> does not have raw return type assignable to org.gradle.api.provider.Property in (ActionConfiguration.java:0) Method <org.gradle.api.AntBuilder.getAnt()> does not have raw return type assignable to org.gradle.api.provider.Provider in (AntBuilder.java:0) Method <org.gradle.api.AntBuilder.getLifecycleLogLevel()> does not have raw return type assignable to org.gradle.api.provider.Property in (AntBuilder.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 22:42:49 UTC 2024 - 160.5K bytes - Viewed (0)