- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 654 for afunc (0.09 sec)
-
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
llvm::StringRef name; mlir::func::FuncOp func; }; llvm::SmallVector<NamedFunc, 8> named_funcs; llvm::SmallVector<mlir::func::FuncOp, 8> private_funcs; for (auto func : module.getOps<mlir::func::FuncOp>()) { auto exported_names = mlir::tf_saved_model::GetExportedNames(func); if (!exported_names.empty()) named_funcs.push_back({exported_names.front(), func}); else
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
return early } // readsMemory reports whether the evaluation n directly reads from // memory that might be written to indirectly. func readsMemory(n ir.Node) bool { switch n.Op() { case ir.ONAME: n := n.(*ir.Name) if n.Class == ir.PFUNC { return false } return n.Addrtaken() || !n.OnStack() case ir.OADD, ir.OAND, ir.OANDAND, ir.OANDNOT, ir.OBITNOT,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
status->status = MessageToBuffer(*run_metadata, buf); } namespace { TFE_Op* GetFunc(TFE_Context* ctx, const tensorflow::NameAttrList& func, TF_Status* status) { TFE_Op* func_op = TFE_NewOp(ctx, func.name().data(), status); for (const auto& attr : func.attr()) { if (!status->status.ok()) return nullptr; SetOpAttrValueScalar(ctx, func_op, attr.second, attr.first.data(), status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0) -
src/reflect/type.go
} func (t *rtype) NumIn() int { if t.Kind() != Func { panic("reflect: NumIn of non-func type " + t.String()) } tt := (*abi.FuncType)(unsafe.Pointer(t)) return tt.NumIn() } func (t *rtype) NumOut() int { if t.Kind() != Func { panic("reflect: NumOut of non-func type " + t.String()) } tt := (*abi.FuncType)(unsafe.Pointer(t)) return tt.NumOut() } func (t *rtype) Out(i int) Type {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/cmd/dist/test.go
// // heading and test.variant must be non-empty. func (t *tester) registerTest(heading string, test *goTest, opts ...registerTestOpt) { var skipFunc func(*distTest) (string, bool) for _, opt := range opts { switch opt := opt.(type) { case rtSkipFunc: skipFunc = opt.skip } } // Register each test package as a separate test. register1 := func(test *goTest) { if test.variant == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_386.go
//go:noinline func Load8(ptr *uint8) uint8 { return *ptr } //go:noescape func And8(ptr *uint8, val uint8) //go:noescape func Or8(ptr *uint8, val uint8) //go:noescape func And(ptr *uint32, val uint32) //go:noescape func Or(ptr *uint32, val uint32) //go:noescape func And32(ptr *uint32, val uint32) uint32 //go:noescape func Or32(ptr *uint32, val uint32) uint32 //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir
func.return %0 : tensor<4xcomplex<f64>> } func.func @f16() -> tensor<4xf16> { // CHECK-LABEL: @f16 // CHECK: value = dense<[1.000000e+00, 2.000000e+00, 3.000000e+00, 4.000000e+00]> : tensor<4xf16> %0 = "tfl.pseudo_const"() { value = dense<[1.0, 2.0, 3.0, 4.0]> : tensor<4xf16> } : () -> tensor<4xf16> func.return %0 : tensor<4xf16> } func.func @f32() -> tensor<4xf32> { // CHECK-LABEL: @f32
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 12.1K bytes - Viewed (0) -
src/reflect/badlinkname.go
func badlinkname_rtype_AssignableTo(*rtype, Type) bool //go:linkname badlinkname_rtype_Bits reflect.(*rtype).Bits func badlinkname_rtype_Bits(*rtype) int //go:linkname badlinkname_rtype_ChanDir reflect.(*rtype).ChanDir func badlinkname_rtype_ChanDir(*rtype) ChanDir //go:linkname badlinkname_rtype_Comparable reflect.(*rtype).Comparable func badlinkname_rtype_Comparable(*rtype) bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 4.5K bytes - Viewed (0) -
src/runtime/testdata/testexithooks/testexithooks.go
exithook.Add(exithook.Hook{F: f1}) exithook.Add(exithook.Hook{F: f2}) // no explicit call to os.Exit } func testGoodExit() { f1 := func() { println("apple") } f2 := func() { println("orange") } exithook.Add(exithook.Hook{F: f1}) exithook.Add(exithook.Hook{F: f2}) // explicit call to os.Exit os.Exit(0) } func testBadExit() { f1 := func() { println("blog") } f2 := func() { println("blix") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/cluster_outlining.mlir
tf_executor.fetch %1#0 : tensor<?xi32> } func.return %0 : tensor<?xi32> } // CHECK: func private @[[CLUSTER]] // CHECK-SAME: () -> tensor<?xi32> // CHECK: %[[A_OUTPUT:[0-9]*]] = "tf.A"() // CHECK: return %[[A_OUTPUT]] // ----- // Tests cluster attributes are copied over to cluster_func. // CHECK-LABEL: func @cluster_attrs func.func @cluster_attrs() -> tensor<?xi32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 4.8K bytes - Viewed (0)