Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for callFoo (0.19 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

        return GetInverseScalesConstantOp().getValue();
      }
    
      func::CallOp GetCallOp() { return call_op_; }
    
      FlatSymbolRefAttr GetFunction() { return call_op_.getCalleeAttr(); }
    
     private:
      explicit UniformQuantizeFunctionCallPattern(func::CallOp call_op)
          : call_op_(call_op) {}
    
      func::CallOp call_op_;
    };
    
    // Matches the following pattern that represents uniform dequantization.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

    bool IsQuantizedCallforDynamicRange(TF::PartitionedCallOp call_op) {
      bool has_quantized_types_for_weights = false;
      std::unique_ptr<OpQuantSpec> spec = GetTFOpQuantSpec(call_op);
    
      for (int32_t cur_idx = 0; cur_idx < call_op.getArgs().size(); cur_idx++) {
        // Check if the only the weight index has QuantizeCastOp.
        auto cur_op = dyn_cast_or_null<quantfork::QuantizeCastOp>(
            call_op.getArgs()[cur_idx].getDefiningOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        } else if (auto call_op = llvm::dyn_cast<TF::PartitionedCallOp>(&op)) {
          auto callee = call_op.func();
          if (!callee) {
            return call_op.emitOpError(
                "resource lifting does not support call with nested references.");
          }
          if (failed(HandlePartitionedCallOp(call_op, callee, module,
                                             vars_initialized,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      op_builder.setInsertionPointToStart(&region.front());
      auto call_op = op_builder.create<mlir::func::CallOp>(
          loc, func.getFunctionType().getResults(), func.getSymName(),
          region.getArguments());
      op_builder.create<mlir::TFL::YieldOp>(loc, call_op.getResults());
    }
    
    void InlineStablehloOpRegion(mlir::Region& region, mlir::func::FuncOp func) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

          } else {
            return -1;
          }
        }
      };
    
      for (auto call_op :
           func.getRegion().getOps<TF::StatefulPartitionedCallOp>()) {
        for (int i = 0; i < call_op->getNumResults(); ++i) {
          if (IsResourceType(call_op->getResult(i).getType())) {
            Operation* symbol = symbol_table.lookup(call_op.getF());
            if (symbol == nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions.mlir

        return %2 : tensor<1x3xf32>
      }
    // Checks that the quantized XlaCallModule has been replaced by a CallOp, which
    // calls the quantized entry function.
    
    // CHECK: func.func private @quantize_dot_general_fn(%[[ARG_0:.+]]: tensor<1x2xf32>) -> tensor<1x3xf32> attributes {tf._original_func_name = "main_0"}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 91.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    			"-Wno-unknown-warning-option",
    			"-Wno-unneeded-internal-declaration",
    			"-Wno-unused-function",
    			"-Qunused-arguments",
    			// Clang embeds prototypes for some builtin functions,
    			// like malloc and calloc, but all size_t parameters are
    			// incorrectly typed unsigned long. We work around that
    			// by disabling the builtin functions (this is safe as
    			// it won't affect the actual compilation of the C code).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top