- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for _Cfunc_ (0.23 sec)
-
src/cmd/fix/typecheck.go
if err != nil { return err } for _, decl := range cgo.Decls { fn, ok := decl.(*ast.FuncDecl) if !ok { continue } if strings.HasPrefix(fn.Name.Name, "_Cfunc_") { var params, results []string for _, p := range fn.Type.Params.List { t := gofmt(p.Type) t = strings.ReplaceAll(t, "_Ctype_", "C.") params = append(params, t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 16 22:02:42 UTC 2022 - 20.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
tensorflow/c/c_api_experimental_test.cc
: s_(TF_NewStatus()), func_graph_(TF_NewGraph()), func_(nullptr) {} void SetUp() override {} ~CApiExperimentalFunctionTest() override { TF_DeleteFunction(func_); TF_DeleteGraph(func_graph_); TF_DeleteStatus(s_); } const char* func_name_ = "MyFunc"; TF_Status* s_; TF_Graph* func_graph_; TF_Function* func_; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
src/cmd/internal/obj/pcln.go
n := binary.PutVarint(buf, int64(delta)) dst = append(dst, buf[:n]...) oldval = val started = true val = valfunc(ctxt, func_, val, p, 1, arg) } if started { if dbg { ctxt.Logf("%6x done\n", uint64(fn.Text.Pc+func_.Size)) } v := (func_.Size - pc) / int64(ctxt.Arch.MinLC) if v < 0 { ctxt.Diag("negative pc offset: %v", v) } n := binary.PutUvarint(buf, uint64(v))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 20:45:15 UTC 2022 - 11.8K bytes - Viewed (0) -
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) -
src/runtime/symtab.go
} } return nil } type funcInfo struct { *_func datap *moduledata } func (f funcInfo) valid() bool { return f._func != nil } func (f funcInfo) _Func() *Func { return (*Func)(unsafe.Pointer(f._func)) } // isInlined reports whether f should be re-interpreted as a *funcinl. func (f *_func) isInlined() bool { return f.entryOff == ^uint32(0) // see comment for funcinl.ones
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/quantization_context.cc
llvm_unreachable("no implementation."); return failure(); } } return success(); } LogicalResult QuantizeContext::Finalize() { MLIRContext *context = func_.getContext(); func_.walk([&](quantfork::QuantizeRegionOp op) { llvm::SmallVector<Attribute, 4> input_specs; auto original_input_specs = op.getInputSpecs().getValue(); for (int i = 0, e = op.getNumOperands(); i != e; ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 13.1K bytes - Viewed (0)