Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for Lata (0.17 sec)

  1. tensorflow/c/eager/c_api_test.cc

      TF_Tensor* t = TFE_TensorHandleResolve(h, status.get());
      ASSERT_EQ(16, TF_TensorByteSize(t));
      float data[4] = {0};
      memcpy(&data[0], TF_TensorData(t), TF_TensorByteSize(t));
      EXPECT_EQ(1.0, data[0]);
      EXPECT_EQ(2.0, data[1]);
      EXPECT_EQ(3.0, data[2]);
      EXPECT_EQ(4.0, data[3]);
      TF_DeleteTensor(t);
      TFE_DeleteTensorHandle(h);
      TFE_DeleteContext(ctx);
    }
    
    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)
  2. tests/query_test.go

    						if _, ok := first[dbName].(string); !ok {
    							t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName])
    						}
    					case "Age":
    						if _, ok := first[dbName].(uint); !ok {
    							t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName])
    						}
    					case "Birthday":
    						if _, ok := first[dbName].(*time.Time); !ok {
    							t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName])
    						}
    					}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    		}
    		return err
    	}
    	if len(data) == 0 {
    		// Seems to be empty create a new batchRepl object.
    		return nil
    	}
    	if len(data) <= 4 {
    		return fmt.Errorf("%s: no data", ri.JobType)
    	}
    	// Read header
    	switch binary.LittleEndian.Uint16(data[0:2]) {
    	case format:
    	default:
    		return fmt.Errorf("%s: unknown format: %d", ri.JobType, binary.LittleEndian.Uint16(data[0:2]))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. tests/test_generate_unique_id_function.py

        def post_router(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        app.include_router(router)
        client = TestClient(app)
        response = client.get("/openapi.json")
        data = response.json()
        assert data == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/": {
                    "post": {
                        "summary": "Post Root",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    	b := z.BackendInfo()
    	poolReadQuorums := make([]int, len(b.StandardSCData))
    	poolWriteQuorums := make([]int, len(b.StandardSCData))
    	for i, data := range b.StandardSCData {
    		poolReadQuorums[i] = data
    		poolWriteQuorums[i] = data
    		if data == b.StandardSCParity {
    			poolWriteQuorums[i] = data + 1
    		}
    	}
    
    	// Check if disks are healing on in-case of VMware vsphere deployments.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create volume %s: %v", volume, err)
    	}
    	data := make([]byte, 8*1024)
    	if _, err = io.ReadFull(rand.Reader, data); err != nil {
    		t.Fatalf("Unable to create generate random data: %v", err)
    	}
    	if err = xlStorage.AppendFile(context.Background(), volume, object, data); err != nil {
    		t.Fatalf("Unable to create object: %v", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_function_test.cc

      }
    
      void CompareInt32Tensor(const std::vector<int32_t>& expected, TF_Tensor* t) {
        int32_t* data = static_cast<int32_t*>(TF_TensorData(t));
        size_t size = TF_TensorByteSize(t);
        ASSERT_EQ(expected.size() * sizeof(int32_t), size);
        for (int i = 0; i < expected.size(); ++i) {
          ASSERT_EQ(expected[i], data[i]) << "Different data at index " << i;
        }
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  8. cmd/test-utils_test.go

    		2 // CRLF
    }
    
    func mustGetPutObjReader(t TestErrHandler, data io.Reader, size int64, md5hex, sha256hex string) *PutObjReader {
    	hr, err := hash.NewReader(context.Background(), data, size, md5hex, sha256hex, size)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return NewPutObjReader(hr)
    }
    
    // calculateSignedChunkLength - calculates the length of the overall stream (data + metadata)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    	},
    	ErrCastFailed: {
    		Code:           "CastFailed",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCast: {
    		Code:           "InvalidCast",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  10. docs/bucket/notifications/README.md

    the bucket and object name of an object that exists in MinIO. The value is JSON encoded event data about the operation that created/replaced the object in MinIO. When objects are updated or deleted, the corresponding row from this table is updated or deleted respectively.
    
    When the _access_ format is used, MinIO appends events to a table. It creates rows with two columns: event_time and event_data. The event_time is the time at which the event occurred in the MinIO server. The event_data...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
Back to top