- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getOperandTypes (1.02 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
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
// still. auto is_legal = [](Operation *op) { auto is_not_variant = [](Type ty) { return !ty.cast<ShapedType>().getElementType().isa<TF::VariantType>(); }; return llvm::all_of(op->getOperandTypes(), is_not_variant) && llvm::all_of(op->getResultTypes(), is_not_variant); }; auto is_set_item_legal = [](Operation *op) { return op->hasAttr("resize_if_index_out_of_bounds") &&
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/flatbuffer_export.cc
const int kLargeElementsAttr = 16; std::string op_str; llvm::raw_string_ostream os(op_str); inst->getName().print(os); os << "("; if (!inst->getOperandTypes().empty()) { bool first = true; for (Type operand_type : inst->getOperandTypes()) { os << (!first ? ", " : ""); first = false; os << operand_type; } } os << ") -> ("; if (!inst->getResultTypes().empty()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0)