Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 842 for dindle (0.26 sec)

  1. internal/kms/single-key.go

    }
    
    // New returns a single-key KMS that derives new DEKs from the
    // given key.
    func New(keyID string, key []byte) (KMS, error) {
    	if len(key) != 32 {
    		return nil, errors.New("kms: invalid key length " + strconv.Itoa(len(key)))
    	}
    	return secretKey{
    		keyID: keyID,
    		key:   key,
    	}, nil
    }
    
    // secretKey is a KMS implementation that derives new DEKs
    // from a single key.
    type secretKey struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_tensor_handle.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    
    namespace tensorflow {
    
    std::string AbstractTensorHandle::DebugString() const {
      PartialTensorShape shape;
      Status s = Shape(&shape);
      std::string shape_string;
      if (!s.ok()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/immediate_execution_tensor_handle.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    
    namespace tensorflow {
    
    std::string ImmediateExecutionTensorHandle::DebugString() const {
      PartialTensorShape shape;
      std::string shape_string;
      if (Shape(&shape).ok()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. tensorflow/c/checkpoint_reader.h

    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/types.h"
    #include "tensorflow/core/util/tensor_bundle/tensor_bundle.h"
    #include "tensorflow/core/util/tensor_slice_reader.h"
    
    namespace tensorflow {
    namespace checkpoint {
    
    class TensorSliceReader;
    
    // A wrapper around BundleReader (for V2 checkpoints) and
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

      if (!status->status.ok()) {
        delete lib_handle;
        return nullptr;
      }
      return lib_handle;
    }
    
    TF_Buffer TF_GetOpList(TF_Library* lib_handle) { return lib_handle->op_list; }
    
    void TF_DeleteLibraryHandle(TF_Library* lib_handle) {
      if (lib_handle == nullptr) return;
      tensorflow::port::Free(const_cast<void*>(lib_handle->op_list.data));
      delete lib_handle;
    }
    
    TF_Buffer* TF_GetAllOpList() {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

      TFE_TensorHandle* value_handle = nullptr;
      TFE_Execute(op, &value_handle, &num_retvals, status);
      TFE_DeleteOp(op);
    
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      ASSERT_EQ(1, num_retvals);
      EXPECT_EQ(TF_FLOAT, TFE_TensorHandleDataType(value_handle));
      EXPECT_EQ(0, TFE_TensorHandleNumDims(value_handle, status));
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  7. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    To do this, use `yield` instead of `return`, and write the extra steps (code) after.
    
    !!! tip
        Make sure to use `yield` one single time.
    
    !!! note "Technical Details"
        Any function that is valid to use with:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. internal/grid/README.md

    Until a connection is established, all outgoing requests will return `ErrDisconnected`.
    
    # Usage
    
    ## Single Payload Requests
    
    Single payload requests are requests and responses that are sent in a single message.
    In essence, they are `[]byte` -> `[]byte, error` functions.
    
    It is not possible to return *both* an error and a response.
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. internal/grid/handlers.go

    	// There is flow control in both directions.
    	StreamHandler struct {
    		// Handle an incoming request. Initial payload is sent.
    		// Additional input packets (if any) are streamed to request.
    		// Upstream will block when request channel is full.
    		// Response packets can be sent at any time.
    		// Any non-nil error sent as response means no more responses are sent.
    		Handle StreamHandlerFn
    
    		// Subroute for handler.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/concepts.md

    * **Cloud services** that handle this for you
        * The cloud service will probably **handle replication for you**. It would possibly let you define **a process to run**, or a **container image** to use, in any case, it would most probably be **a single Uvicorn process**, and the cloud service would be in charge of replicating it.
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18K bytes
    - Viewed (0)
Back to top