- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for VerifyTypesCompatibility (0.4 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.h
// useful for ops like Concat that requires all ranked inputs to have the same // rank and match dimension sizes for all but one of the dimensions. LogicalResult VerifyTypesCompatibility(Operation::operand_type_range types, bool mask_one_dim, Operation *op); } // namespace TF } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.cc
// useful for ops like Concat that requires all ranked inputs to have the same // rank and match dimension sizes for all but one of the dimensions. LogicalResult VerifyTypesCompatibility(Operation::operand_type_range types, bool mask_one_dim, Operation *op) { int64_t common_rank = ShapedType::kDynamic; llvm::SmallVector<int64_t, 4> common_dims;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
if (!HasRankAtMost(axis, 1)) { return op.emitOpError( "requires axis to be of scalar type (or vector type for older " "versions)"); } return VerifyTypesCompatibility(values, /*mask_one_dim=*/true, op.getOperation()); } LogicalResult ConcatOp::verify() { return Verify(*this); }
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/ir/tf_ops_n_z.cc
LogicalResult PackOp::verify() { PackOp op = *this; // TODO(hinsu): Convert variadic length attributes to derived attributes. Operation::operand_range values = op.getValues(); if (failed(VerifyTypesCompatibility(values, /*mask_one_dim=*/false, op.getOperation()))) { return failure(); } int64_t inputs_rank = -1;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0)