- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 148 for __callback (0.17 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td
This op takes `args` with their `names` (their cardinality must match) and sends the given argument tensors back to the serving controller. This triggers a controller-side stream callback (see `ScopedStreamCallback`). In addition to the listed attributes, this op has two "hidden" attributes that do not exist in SavedModel but are dynamically populated by the serving runtime:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
}; StreamExecutor* executor = GetExecutor(0); TF_ASSERT_OK_AND_ASSIGN(auto stream, executor->CreateStream()); std::function<absl::Status()> callback = []() -> absl::Status { return absl::OkStatus(); }; TF_ASSERT_OK(stream->DoHostCallbackWithStatus(callback)); } TEST_F(StreamExecutorTest, HostCallbackError) { se_.host_callback = [](const SP_Device* const device, SP_Stream stream,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 19:54:04 UTC 2024 - 26.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/LocalComponentGraphResolveState.java
/** * We currently allow a configuration that has been partially observed for resolution to be modified * in a beforeResolve callback. * * To reduce the number of instances of root component metadata we create, we mark all configurations * as dirty and in need of re-evaluation when we see certain types of modifications to a configuration. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 16:00:57 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientTest.groovy
1 * connector.connect(compatibilitySpec) >> connection _ * connection.daemon >> Stub(DaemonConnectDetails) 1 * cancellationToken.addCallback(_) >> { Runnable callback -> callback.run() return false } 1 * connection.dispatch({ it instanceof Build }) 2 * connection.receive() >>> [Stub(BuildStarted), new Failure(new DaemonStoppedException())]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 10K bytes - Viewed (0) -
fastapi/openapi/docs.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 10.1K bytes - Viewed (0) -
src/internal/coverage/encodecounter/encode.go
// CounterVisitor to the write/emit routines, then the expectation is // that the VisitFuncs method will then invoke the callback "f" with // data for each function to emit to the file. type CounterVisitor interface { VisitFuncs(f CounterVisitorFn) error } // CounterVisitorFn describes a callback function invoked when writing // coverage counter data. type CounterVisitorFn func(pkid uint32, funcid uint32, counters []uint32) error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.8K bytes - Viewed (0) -
internal/grid/stream.go
select { case s.Requests <- b: return nil case <-s.ctx.Done(): return context.Cause(s.ctx) } } // Results returns the results from the remote server one by one. // If any error is returned by the callback, the stream will be canceled. // If the context is canceled, the stream will be canceled. func (s *Stream) Results(next func(b []byte) error) (err error) { done := false defer func() { if s.cancel != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 3.1K bytes - Viewed (0) -
cmd/ftp-server-driver.go
return &minioFileInfo{ p: pathClean(object), info: objInfo, isDir: isDir, }, nil } // ListDir implements ftpDriver func (driver *ftpDriver) ListDir(ctx *ftp.Context, objPath string, callback func(os.FileInfo) error) (err error) { stopFn := globalFtpMetrics.log(ctx, objPath) defer stopFn(0, err) clnt, err := driver.getMinIOClient(ctx) if err != nil { return err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 03 15:45:54 UTC 2024 - 14K bytes - Viewed (0) -
pkg/revisions/tag_watcher.go
// when the tags change. type TagWatcher interface { Run(stopCh <-chan struct{}) HasSynced() bool AddHandler(handler TagHandler) GetMyTags() sets.String } // TagHandler is a callback for when the tags revision change. type TagHandler func(sets.String) type tagWatcher struct { revision string handlers []TagHandler queue controllers.Queue
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 00:12:28 UTC 2024 - 3.3K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
return errors.New("callback err") }, // testHandshake returns the server side error, so we just need to // check alertBadCertificate was sent expectedErr: "callback err", }, { name: "VerifyConnection, err", verifyConnection: func(ConnectionState) error { return errors.New("callback err") }, expectedErr: "tls: server rejected ECH",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0)