- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ShapedType (0.15 sec)
-
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
CPred<"$_op.getOperand(0).getType().cast<ShapedType>().getRank() <= 1">, CPred<"$_op.getOperand(0).getType().cast<ShapedType>().getRank() == 2 && !$_op.getOperand(0).getType().cast<ShapedType>().hasStaticShape()">, CPred<"$_op.getOperand(0).getType().cast<ShapedType>().getRank() == 2 && $_op.getOperand(0).getType().cast<ShapedType>().getShape()[1] <= 4">]>>]> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
// Slice each row of `i` and `v` to perform a separate dynamic-update-slice // on the contents of `x`. auto input_type = mlir::cast<ShapedType>(input.getType()); auto updates_type = mlir::cast<ShapedType>(updates.getType()); auto indices_type = mlir::cast<ShapedType>(indices.getType()); if (!input_type.hasRank()) return failure(); if (!updates_type.hasRank() || updates_type.isDynamicDim(0))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
Type TypeMeet(Type lhs, Type rhs) { DCOMMENT("RefineTypeWith : " << lhs << " : " << rhs); if (lhs == rhs) return lhs; auto rhs_shape_type = mlir::dyn_cast<ShapedType>(rhs); if (!rhs_shape_type) return lhs; auto lhs_shape_type = mlir::cast<ShapedType>(lhs); if (lhs_shape_type.hasRank() && rhs_shape_type.hasRank() && lhs_shape_type.getRank() != rhs_shape_type.getRank()) {
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/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) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
(TFL_TopKV2Op $input, $k)>; def ReductionDimensionIsLastDim : Constraint<CPred<"($0.cast<IntegerAttr>().getInt() == " "$1.getType().cast<ShapedType>().getRank() - 1 || $0.cast<IntegerAttr>().getInt() == -1)">>; // Legalizes TF_ApproxTopKOp to TFL_TopKV2Op with the following constraints: // 1. It computes max k
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0)