Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for new_output_types (0.22 sec)

  1. tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc

        func::FuncOp func, llvm::SmallVectorImpl<Type>& new_output_types,
        OpBuilder builder) {
      Block& block = func.front();
      auto* terminator = block.getTerminator();
      builder.setInsertionPoint(terminator);
    
      if (mlir::isa<FloatType>(output_type)) {
        return success();
      }
    
      int num_return_operands = terminator->getNumOperands();
      new_output_types.reserve(num_return_operands);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc

        passthrough_op->replaceAllUsesWith(dequantize_op);
    
        // Set the input type of the passthrough op and pull it up.
        Type new_output_type;
        if (mlir::isa<quant::QuantizedType>(input_element_type)) {
          new_output_type = QuantizedType::getQuantizedElementType(
                                dequantize_op.getInput().getType())
                                .castFromExpressedType(output_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top