Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for dimvec (0.06 sec)

  1. tensorflow/c/eager/c_api_experimental.cc

                                      const int64_t* dims, int num_dims,
                                      TF_Status* status) {
      std::vector<int64_t> dimvec(num_dims);
      for (int i = 0; i < num_dims; ++i) {
        dimvec[i] = static_cast<int64_t>(dims[i]);
      }
    
      if (ctx == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid Context");
        return nullptr;
      }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

        status->status =
            tensorflow::errors::InvalidArgument(device_name, " unknown device.");
        return nullptr;
      }
      std::vector<int64_t> dimvec(num_dims);
      for (int i = 0; i < num_dims; ++i) {
        dimvec[i] = static_cast<int64_t>(dims[i]);
      }
    
      // TODO(apassos) do we need to wrap the deallocator here to make sure to sync
      // the device?
      TF_ManagedBuffer* buf =
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  3. tests/test_read_with_orm_mode.py

        def create_person(person: PersonCreate) -> Any:
            db_person = Person.model_validate(person)
            return db_person
    
        client = TestClient(app)
    
        person_data = {"name": "Dive", "lastname": "Wilson"}
        response = client.post("/people/", json=person_data)
        data = response.json()
        assert response.status_code == 200, response.text
        assert data["name"] == person_data["name"]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_sql_databases/test_tutorial001.py

                    "id": 999,
                    "name": "Dead Pond",
                    "age": 30,
                    "secret_name": "Dive Wilson",
                },
            )
            assert response.status_code == 200, response.text
            assert response.json() == snapshot(
                {"age": 30, "secret_name": "Dive Wilson", "id": 999, "name": "Dead Pond"}
            )
    
            # Read a hero
            hero_id = response.json()["id"]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            }
            catch ( GeneralSecurityException e ) {
                throw new GeneralSecurityException("Checksum failed while decrypting.");
            }
            byte[] ivec = new byte[8];
            IvParameterSpec params = new IvParameterSpec(ivec);
    
            SecretKeySpec skSpec = new SecretKeySpec(key.getEncoded(), "DES");
            SecretKey sk = skSpec;
    
            cipher.init(Cipher.DECRYPT_MODE, sk, params);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. docs/bucket/versioning/DESIGN.md

            }
          }
        }
      ]
    }
    ```
    
    ### v1.3+ versions
    
    Version 1.3 introduces changes to help with [faster metadata reads and updates](https://blog.min.io/minio-versioning-metadata-deep-dive/)
    
    | Entry           | Encoding                    | Content
    | ----------------|-----------------------------|----------------------------------------
    | xlHeaderVersion | msgp uint                   | header version identifier
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.cc

        const int64_t* dims) {
      if (num_dims != -1) {
        std::vector<tensorflow::shape_inference::DimensionHandle> dim_vec;
        dim_vec.reserve(num_dims);
        for (int i = 0; i < num_dims; ++i) {
          dim_vec.push_back(ic->MakeDim(dims[i]));
        }
        return ic->MakeShape(dim_vec);
      } else {
        return ic->UnknownShape();
      }
    }
    
    }  // namespace
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  8. architecture/ambient/ztunnel.md

    In particular, an easy answer to "I just want to have mTLS everywhere, then I can think about adopting the rest of service mesh" was desired.
    
    Other documents include:
    * Deep dive on [Peer Authentication implementation](peer-authentication.md)
    * Deep dive on [lifecycle](ztunnel-cni-lifecycle.md) when running on Kubernetes
    
    ## Goals
    
    Ztunnel should:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            response = client.post(
                "/heroes/",
                json={
                    "id": 9000,
                    "name": "Dead Pond",
                    "age": 30,
                    "secret_name": "Dive Wilson",
                },
            )
            assert response.status_code == 200, response.text
            assert response.json() == snapshot(
                {"age": 30, "id": IsInt(), "name": "Dead Pond"}
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. docs/en/docs/contributing.md

    ## Developing
    
    If you already cloned the <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">fastapi repository</a> and you want to deep dive in the code, here are some guidelines to set up your environment.
    
    ### Virtual environment
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 25 02:44:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top