- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Funcs (0.02 sec)
-
tensorflow/c/c_api_experimental_test.cc
}; TEST_F(CApiExperimentalFunctionTest, GraphRemoveFunction) { TF_Function* funcs[1]; DefineFunction(func_name_, &func_); TF_GraphCopyFunction(func_graph_, func_, nullptr, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_EQ(TF_GraphNumFunctions(func_graph_), 1); EXPECT_EQ(TF_GraphGetFunctions(func_graph_, funcs, 1, s_), 1); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
tests/callbacks_test.go
"testing" "gorm.io/gorm" ) func assertCallbacks(v interface{}, fnames []string) (result bool, msg string) { var ( got []string funcs = reflect.ValueOf(v).Elem().FieldByName("fns") ) for i := 0; i < funcs.Len(); i++ { got = append(got, getFuncName(funcs.Index(i))) } return fmt.Sprint(got) == fmt.Sprint(fnames), fmt.Sprintf("expects %v, got %v", fnames, got) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
EXPECT_EQ(TF_GraphGetFunctions(host_graph_, funcs, 2, s_), 2); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); if (GetName(funcs[0]) == GetName(func0)) { AssertEqual(func0, funcs[0]); AssertEqual(func1, funcs[1]); } else { AssertEqual(func0, funcs[1]); AssertEqual(func1, funcs[0]); } TF_DeleteFunction(funcs[0]); TF_DeleteFunction(funcs[1]); TF_DeleteFunction(func0);
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Nov 17 00:00:38 UTC 2025 - 63.6K bytes - Viewed (1) -
tensorflow/c/c_api_function.cc
} int TF_GraphNumFunctions(TF_Graph* g) { tensorflow::mutex_lock l(g->mu); return g->graph.flib_def().num_functions(); } int TF_GraphGetFunctions(TF_Graph* g, TF_Function** funcs, int max_func, TF_Status* status) { tensorflow::FunctionDefLibrary lib; { tensorflow::mutex_lock l(g->mu); lib = g->graph.flib_def().ToProto(); }
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 13.7K bytes - Viewed (0) -
cmd/object-api-utils.go
func NewGetObjectReaderFromReader(r io.Reader, oi ObjectInfo, opts ObjectOptions, cleanupFns ...func()) (*GetObjectReader, error) { if opts.CheckPrecondFn != nil && opts.CheckPrecondFn(oi) { // Call the cleanup funcs for i := len(cleanupFns) - 1; i >= 0; i-- { cleanupFns[i]() } return nil, PreConditionFailed{} } return &GetObjectReader{ ObjInfo: oi, Reader: r, cleanUpFns: cleanupFns,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 37.3K bytes - Viewed (0) -
chainable_api.go
// } // } // // db.Scopes(AmountGreaterThan1000, OrderStatus([]string{"paid", "shipped"})).Find(&orders) func (db *DB) Scopes(funcs ...func(*DB) *DB) (tx *DB) { tx = db.getInstance() tx.Statement.scopes = append(tx.Statement.scopes, funcs...) return tx } func (db *DB) executeScopes() (tx *DB) { scopes := db.Statement.scopes db.Statement.scopes = nil for _, scope := range scopes {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 19 01:49:06 UTC 2025 - 14.8K bytes - Viewed (0) -
tensorflow/c/c_api.h
// `funcs` and sets status to OK. The caller takes ownership of // all the returned TF_Functions. They must be deleted with TF_DeleteFunction. // On error, returns 0, sets status to the encountered error, and the contents // of funcs will be undefined. TF_CAPI_EXPORT extern int TF_GraphGetFunctions(TF_Graph* g, TF_Function** funcs,
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
internal/s3select/sql/parser.go
Extract *ExtractFunc `parser:"| @@"` Trim *TrimFunc `parser:"| @@"` DateAdd *DateAddFunc `parser:"| @@"` DateDiff *DateDiffFunc `parser:"| @@"` // Used during evaluation for aggregation funcs aggregate *aggVal } // SimpleArgFunc represents functions with simple expression // arguments. type SimpleArgFunc struct {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.9K bytes - Viewed (0) -
doc/go_mem.html
<pre> i := *p if i < 0 || i >= len(funcs) { panic("invalid function index") } ... complex code ... // compiler must NOT reload i = *p here funcs[i]() </pre> <p> If the complex code needs many registers, a compiler for single-threaded programs could discard <code>i</code> without saving a copy and then reload <code>i = *p</code> just before <code>funcs[i]()</code>.
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Aug 05 15:41:37 UTC 2025 - 26.6K bytes - Viewed (0) -
api/go1.19.txt
pkg go/types, method (*Var) Origin() *Var #51682 pkg hash/maphash, func Bytes(Seed, []uint8) uint64 #42710 pkg hash/maphash, func String(Seed, string) uint64 #42710 pkg html/template, method (*Template) Funcs(template.FuncMap) *Template #46121 pkg html/template, type FuncMap = template.FuncMap #46121 pkg net/http, method (*MaxBytesError) Error() string #30715 pkg net/http, type MaxBytesError struct #30715
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 17.9K bytes - Viewed (0)