- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for HasNonNegativeOffset (0.24 sec)
-
tensorflow/compiler/mlir/lite/utils/utils.td
"$0.getType().cast<ShapedType>()," "$1.getType().cast<ShapedType>())">; // Constraint that checks if all values in offset between two // attributes are non-negative. def HasNonNegativeOffset : Constraint<CPred<"TFL::HasNonNegativeOffset($0, $1)">>; // Constraint that checks if all values in list attribute are non-negative. def HasNonNegativeValues : Constraint<CPred<"TFL::HasNonNegativeValues($0)">>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/utils.h
mlir::IntegerType::get(begin.getContext(), 32)), llvm::ArrayRef(offsets)); } // Check if the offset between two dense attribute values is non-negative. inline bool HasNonNegativeOffset(Attribute begin, Attribute end) { return HasNonNegativeValues(GetOffSet(begin, end)); } // Return true if the permutation value only swaps the last two dimensions
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
ConstBoolAttrFalse), (TFL_SliceOp $input, (Arith_ConstantOp $begin), (Arith_ConstantOp (GetOffSet $begin, $end))), [(IsAllOnesConstant $stride), (HasNonNegativeValues $begin), (HasNonNegativeOffset $begin, $end)]>; def GetNumElementsOrOne: NativeCodeCall<"GetNumElementsOrOne($0.getType())">; def ReshapeValueDroppingLastDim : NativeCodeCall< "ReshapeValueDroppingLastDim($_builder, $0)">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0)