- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for hasTask (0.14 sec)
-
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
// Checks if the value has rank at most 'n'. class HasRankAtMost<int n> : Constraint< CPred<"$0.getType().cast<ShapedType>().hasRank() && " "$0.getType().cast<ShapedType>().getRank() <= " # n>>; // Checks if the value has rank 'n'. class HasRank<int n> : Constraint< CPred<"$0.getType().cast<ShapedType>().hasRank() && " "$0.getType().cast<ShapedType>().getRank() == " # n>>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
auto out_size_element_ty = out_size_ty.getElementType(); // Input should be rank 4. if (!input_ty.hasRank() || input_ty.getRank() != 4) { return failure(); } // Check that out_size is rank-1, length-2. Otherwise the size is not legal. if (!out_size_ty.hasRank() || out_size_ty.getRank() != 1 || out_size_ty.getShape()[0] != 2) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
src/encoding/xml/marshal_test.go
Approximation float32 `xml:",chardata"` } type Universe struct { XMLName struct{} `xml:"universe"` Visible float64 `xml:",chardata"` } type Particle struct { XMLName struct{} `xml:"particle"` HasMass bool `xml:",chardata"` } type Departure struct { XMLName struct{} `xml:"departure"` When time.Time `xml:",chardata"` } type SecretAgent struct { XMLName struct{} `xml:"agent"`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 66K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
if (matchPattern(op_state.operands[1], m_Constant(&shape_attr))) { auto shape_ty = op_state.operands[1].getType().dyn_cast<RankedTensorType>(); if (shape_ty != nullptr && shape_ty.hasRank() && shape_ty.getRank() > 1) { llvm::SmallVector<mlir::Attribute, 4> shape; int32_t dim_size = 0; for (const auto& dim : llvm::enumerate(shape_attr.getValues<llvm::APInt>())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
// Here we assume that the element_shape won't be changed before calling // the first `TensorListSetItemOp`. if (auto shaped_type = element_shape.getType().dyn_cast<ShapedType>()) { if (shaped_type.hasRank() && shaped_type.getRank() == 0) { bool element_shape_acquired = false; auto uses = op.getResult().getUses(); for (auto &use : llvm::make_early_inc_range(uses)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
src/cmd/dist/test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0)