- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getOperandTypes (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
} } } func_op.eraseArguments(indices_to_erase); func_op.setType( FunctionType::get(func_op.getContext(), new_types, llvm::to_vector<4>(return_op->getOperandTypes()))); } // Lifts reads/writes of resource arguments from func_op and changes its // signature. resource_data_types is the (index, data type) pair for each
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
public: using OpRewritePattern<stablehlo::ConvolutionOp>::OpRewritePattern; LogicalResult match(stablehlo::ConvolutionOp op) const final { // Verify operands' types. for (Type operand_type : op.getOperandTypes()) { if (Type element_type = mlir::cast<TensorType>(operand_type).getElementType(); !mlir::isa<Float32Type>(element_type)) { LLVM_DEBUG(llvm::dbgs()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K 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)