Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for _Cfunc_ (0.47 sec)

  1. src/cmd/compile/internal/types2/call.go

    		}
    	}
    
    	return
    }
    
    var cgoPrefixes = [...]string{
    	"_Ciconst_",
    	"_Cfconst_",
    	"_Csconst_",
    	"_Ctype_",
    	"_Cvar_", // actually a pointer to the var
    	"_Cfpvar_fp_",
    	"_Cfunc_",
    	"_Cmacro_", // function to evaluate the expanded expression
    }
    
    func (check *Checker) selector(x *operand, e *syntax.SelectorExpr, def *TypeName, wantType bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  2. src/go/types/call.go

    		}
    	}
    
    	return
    }
    
    var cgoPrefixes = [...]string{
    	"_Ciconst_",
    	"_Cfconst_",
    	"_Csconst_",
    	"_Ctype_",
    	"_Cvar_", // actually a pointer to the var
    	"_Cfpvar_fp_",
    	"_Cfunc_",
    	"_Cmacro_", // function to evaluate the expanded expression
    }
    
    func (check *Checker) selector(x *operand, e *ast.SelectorExpr, def *TypeName, wantType bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    	var goname string
    	switch fun := call.Call.Fun.(type) {
    	case *ast.SelectorExpr:
    		goname = fun.Sel.Name
    	case *ast.Ident:
    		goname = strings.TrimPrefix(fun.Name, "_C2func_")
    		goname = strings.TrimPrefix(goname, "_Cfunc_")
    	}
    	if goname == "" || goname == "malloc" {
    		return "", false
    	}
    	name := f.Name[goname]
    	if name == nil || name.Kind != "func" {
    		// Probably a type conversion.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

    void ConvertNMSPaddedFunc::RewriteFunc() {
      func_->setAttr(kTFImplements,
                     StringAttr::get(func_.getContext(), kTfNMSPadded));
      Value boxes = func_.getArgument(0);
      Value scores = func_.getArgument(1);
      Value max_output_size = func_.getArgument(2);
      Value iou_threshold = func_.getArgument(3);
      Value score_threshold = func_.getArgument(4);
      auto output_type0 = func_.getFunctionType().getResult(0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

    LogicalResult ConvertDenseImageWarpFunc::RewriteFunc() {
      func_.eraseBody();
      func_.addEntryBlock();
      func_->setAttr(kTFImplements,
                     StringAttr::get(func_.getContext(), kImageWarping));
    
      OpBuilder builder(func_.getBody());
      auto op = builder.create<CustomOp>(func_.getLoc(),
                                         func_.getFunctionType().getResults(),
                                         func_.getArguments(), kImageWarping,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/ifrt/rewrite_cluster_to_ifrt_call.mlir

      return %0 : tensor<1x3xf32>
    }
    
    // CHECK-LABEL: @_func
    func.func private @_func(%arg0: tensor<1x3xf32>) -> (tensor<1x3xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 17 07:28:40 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

      explicit ConvertEmbeddedLookupFunc(func::FuncOp func) : func_(func) {}
    
      void RewriteFunc() {
        func_->setAttr(kTFImplements,
                       StringAttr::get(func_.getContext(), "embedding_lookup"));
        Value lookup = func_.getArgument(1);
        Value value = func_.getArgument(0);
        auto output_type = func_.getFunctionType().getResult(0);
    
        OpBuilder builder(func_.getBody());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      }
      builder_.create<func::ReturnOp>(func_.getLoc(), ret_operands);
    
      auto arg_types = body.getArgumentTypes();
      auto result_types = body.getTerminator()->getOperandTypes();
      func_.setType(FunctionType::get(func_.getContext(), arg_types, result_types));
      *f = new MlirFunction(std::move(context_), std::move(module_), func_);
      return absl::OkStatus();
    }
    
    extern "C" {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/verify_input_dialect_to_executor_pass_test.mlir

    }
    
    // -----
    
    func.func @_func(%arg0: tensor<i32>) -> tensor<i32> {
      func.return %arg0 : tensor<i32>
    }
    
    func.func @testClusterFuncOpFails(%arg0: tensor<i32>) -> tensor<i32> {
       // expected-error@below {{failed TF functional to executor validation, op tf_device.cluster_func is not allowed}}
      %cluster = "tf_device.cluster_func"(%arg0) {func = @_func} : (tensor<i32>) -> tensor<i32>
     func.return %cluster : tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 30 22:07:53 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

          func.func private @function_1() -> () attributes {tf._original_func_name = "__func_1"} {
            tf_executor.graph {
              %control_0 = tf_executor.island wraps "tf.NoOp"() : () -> ()
            }
            return
          }
    
          func.func private @function_2() -> () attributes {tf._original_func_name = "__func_2"} {
            tf_executor.graph {
              %control_0 = tf_executor.island wraps "tf.NoOp"() : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top