- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 188 for Unwrap (0.08 sec)
-
tensorflow/c/eager/c_api_unified_experimental.cc
void TF_DeleteOutputList(TF_OutputList* o) { delete unwrap(o); } void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs, TF_Status* s) { unwrap(o)->expected_num_outputs = num_outputs; unwrap(o)->outputs.clear(); unwrap(o)->outputs.resize(num_outputs); } int TF_OutputListNumOutputs(TF_OutputList* o) { return unwrap(o)->outputs.size(); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
tensorflow::unwrap(ctx)->SetExecutorForThread(executor->executor()); } TFE_Executor* TFE_ContextGetExecutorForThread(TFE_Context* ctx) { return new TFE_Executor(&tensorflow::unwrap(ctx)->Executor()); } void TFE_HostAddressSpace(TFE_Context* ctx, TF_Buffer* buf) { auto address_space = tensorflow::DeviceNameUtils::AddressSpace( tensorflow::unwrap(ctx)->HostCPUParsedName());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 35.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
tensorflow::unwrap(ctx)->StartStep(); } void TFE_ContextEndStep(TFE_Context* ctx) { tensorflow::unwrap(ctx)->EndStep(); } const TFE_OpAttrs* TFE_OpGetAttrs(const TFE_Op* op) { return tensorflow::wrap(tensorflow::unwrap(op)->GetOpAttrs()); } void TFE_OpAddAttrs(TFE_Op* op, const TFE_OpAttrs* attrs) { tensorflow::unwrap(op)->AddAttrs(tensorflow::unwrap(attrs)); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
public void testWrap() { assertThat(Primitives.wrap(int.class)).isSameInstanceAs(Integer.class); assertThat(Primitives.wrap(Integer.class)).isSameInstanceAs(Integer.class); assertThat(Primitives.wrap(String.class)).isSameInstanceAs(String.class); } public void testUnwrap() { assertThat(Primitives.unwrap(Integer.class)).isSameInstanceAs(int.class); assertThat(Primitives.unwrap(int.class)).isSameInstanceAs(int.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/PrimitivesTest.java
public void testWrap() { assertThat(Primitives.wrap(int.class)).isSameInstanceAs(Integer.class); assertThat(Primitives.wrap(Integer.class)).isSameInstanceAs(Integer.class); assertThat(Primitives.wrap(String.class)).isSameInstanceAs(String.class); } public void testUnwrap() { assertThat(Primitives.unwrap(Integer.class)).isSameInstanceAs(int.class); assertThat(Primitives.unwrap(int.class)).isSameInstanceAs(int.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 3K bytes - Viewed (0) -
internal/logger/logonce.go
} } const unwrapErrsDepth = 3 // unwrapErrs upto the point where errors.Unwrap(err) returns nil func unwrapErrs(err error) (leafErr error) { uerr := errors.Unwrap(err) depth := 1 for uerr != nil { // Save the current `uerr` leafErr = uerr // continue to look for leaf errors underneath uerr = errors.Unwrap(leafErr) depth++ if depth == unwrapErrsDepth { // If we have reached enough depth we
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 3.8K bytes - Viewed (0) -
internal/crypto/error.go
func Errorf(format string, a ...interface{}) error { e := fmt.Errorf(format, a...) ee := Error{} ee.msg = e.Error() ee.cause = errors.Unwrap(e) return ee } // Unwrap the internal error. func (e Error) Unwrap() error { return e.cause } // Error 'error' compatible method. func (e Error) Error() string { if e.msg == "" { return "crypto: cause <nil>" } return e.msg }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 4.4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
int real_num_outputs = expected_max_outputs; TFE_OpSetCancellationManager(op_.get(), wrap(cancellation_manager_), status); if (TF_GetCode(status) != TF_OK) return; // unwrap op_ and set step_id only if valid step id value was set. // Currently only required for non-TFRT use cases, e.g., EagerOp. if (step_id_.has_value()) { tensorflow::unwrap(op_.get())->SetStepId(step_id_.value()); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 25.9K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt
import mockwebserver3.SocketPolicy.StallSocketAtStart internal fun Dispatcher.wrap(): mockwebserver3.Dispatcher { if (this is QueueDispatcher) return this.delegate val delegate = this return object : mockwebserver3.Dispatcher() { override fun dispatch(request: mockwebserver3.RecordedRequest): mockwebserver3.MockResponse { return delegate.dispatch(request.unwrap()).wrap() } override fun peek(): mockwebserver3.MockResponse {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt
@Throws(InterruptedException::class) fun takeRequest(): RecordedRequest { return delegate.takeRequest().unwrap() } @Throws(InterruptedException::class) fun takeRequest( timeout: Long, unit: TimeUnit, ): RecordedRequest? { return delegate.takeRequest(timeout, unit)?.unwrap() } @JvmName("-deprecated_requestCount") @Deprecated( message = "moved to val",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 5.9K bytes - Viewed (0)