- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 339 for handle (0.1 sec)
-
internal/grid/handlers.go
HandlerClearUploadID // Add more above here ^^^ // If all handlers are used, the type of Handler can be changed. // Handlers have no versioning, so non-compatible handler changes must result in new IDs. handlerTest handlerTest2 handlerLast ) // handlerPrefixes are prefixes for handler IDs used for tracing. // If a handler is not listed here, it will be traced with "grid" prefix.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 27.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_debug.cc
std::vector<int64_t> TensorShapeAsVector(const tensorflow::TensorHandle& handle, absl::Status* status) { std::vector<int64_t> shape; int rank = -1; *status = handle.NumDims(&rank); if (!status->ok()) { return shape; } shape.reserve(rank); for (int i = 0; i < rank; ++i) { int64_t dim; *status = handle.Dim(i, &dim); if (!status->ok()) { return shape; }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
If an incoming request does not validate correctly then a `400` response will be sent. ## `GZipMiddleware` Handles GZip responses for any request that includes `"gzip"` in the `Accept-Encoding` header. The middleware will handle both standard and streaming responses. {* ../../docs_src/advanced_middleware/tutorial003.py hl[2,6] *} The following arguments are supported:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:45:50 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
}; // Gets tensor from eager tensor handle. const Tensor* GetTensorFromHandle(TFE_TensorHandle* h, TF_Status* status) { if (h == nullptr) { status->status = tensorflow::errors::InvalidArgument("Invalid handle"); return nullptr; } tensorflow::TensorHandle* handle = tensorflow::TensorHandleFromInterface(tensorflow::unwrap(h)); if (handle->Type() != TensorHandle::LOCAL) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 12.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
*/ @Named @Singleton public class DefaultExceptionHandler implements ExceptionHandler { @Override public ExceptionSummary handleException(Throwable exception) { return handle("", exception); } private ExceptionSummary handle(String message, Throwable exception) { String reference = getReference(Collections.newSetFromMap(new IdentityHashMap<>()), exception); List<ExceptionSummary> children = null;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.9K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values. You can add more than one event handler function. And your application won't start receiving requests until all the `startup` event handlers have completed. ### `shutdown` event To add a function that should be run when the application is shutting down, declare it with the event `"shutdown"`:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:36:22 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
// Returns the device which created the handle. virtual const char* DeviceName(absl::Status* status) const = 0; // Returns the device where the tensor was placed. virtual const char* BackingDeviceName(absl::Status* status) const = 0; // Returns the device type which created the handle. virtual const char* DeviceType(absl::Status* status) const = 0; // Returns the device ID which created the handle.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
return nullptr; } tensorflow::TensorHandle* handle = tensorflow::TensorHandleFromInterface(unwrapped_handle); if (handle->Type() != tensorflow::TensorHandle::LOCAL) { status->status = tensorflow::errors::InvalidArgument( "TFE_TensorHandleDevicePointer may not be called on a ", handle->TypeString(), " tensor handle."); return nullptr;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.h
~AbstractTensorHandle() override {} public: // Returns tensor dtype. virtual tensorflow::DataType DataType() const = 0; // Returns the status of the tensor handle. If it is a tfrt::TensorHandle, // the tensor handle can be an error and return non-OK status. virtual absl::Status TensorHandleStatus() const; // Returns tensor shape. If tensor has unknown rank, shape remains untouched.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
MemoryReleaser memory_releaser, void* memory_releaser_arg) = 0; // Create a handle to wrap and manage a Tensor virtual ImmediateExecutionTensorHandle* CreateLocalHandle( AbstractTensorInterface* t) = 0; // Copy the handle to another device. virtual ImmediateExecutionTensorHandle* CopyTensorHandleToDevice( ImmediateExecutionTensorHandle* handle, const char* device_name, absl::Status* status) = 0;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 12.3K bytes - Viewed (0)