Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Bedros (0.18 sec)

  1. tensorflow/c/eager/tape.h

      }
    
      // We may need to allocate zero inputs for trainable dtypes we don't have JVPs
      // for. Make sure they get cleaned up.
      std::vector<Gradient*> new_zeros;
      auto delete_new_zeros = gtl::MakeCleanup([&new_zeros, this] {
        for (Gradient* tensor : new_zeros) {
          this->vspace_.DeleteGradient(tensor);
        }
      });
      std::vector<Gradient*> in_grads;
      in_grads.reserve(input_tensors.size());
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  2. docs/pt/docs/tutorial/handling-errors.md

    Os status codes na faixa dos 400 significam que houve um erro por parte do cliente.
    
    Você se lembra de todos aqueles erros (e piadas) a respeito do "**404 Not Found**"?
    
    ## Use o `HTTPException`
    
    Para retornar ao cliente *responses* HTTP com erros, use o `HTTPException`.
    
    ### Import `HTTPException`
    
    ```Python hl_lines="1"
    {!../../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/body.md

    <img src="/img/tutorial/body/image03.png">
    
    Você também poderá receber verificações de erros para operações de tipos incorretas:
    
    <img src="/img/tutorial/body/image04.png">
    
    Isso não é por acaso, todo o framework foi construído em volta deste design.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. docs/pt/docs/python-types.md

    ```Python hl_lines="1 4"
    {!../../../docs_src/python_types/tutorial009.py!}
    ```
    
    O uso de `Opcional [str]` em vez de apenas `str` permitirá que o editor o ajude a detectar erros, onde você pode estar assumindo que um valor é sempre um `str`, quando na verdade também pode ser `None`.
    
    #### Tipos genéricos
    
    Esses tipos que usam parâmetros de tipo entre colchetes, como:
    
    * `List`
    * `Tuple`
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    //
    // The err will be set to io.EOF only when one of the following occurs:
    //   - Exactly 0 bytes are read and EOF is hit.
    //   - Exactly 1 block of zeros is read and EOF is hit.
    //   - At least 2 blocks of zeros are read.
    func (tr *Reader) readHeader() (*Header, *block, error) {
    	// Two blocks of zero bytes marks the end of the archive.
    	if _, err := io.ReadFull(tr.r, tr.blk[:]); err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    			got := string(readBuf[:n])
    			if err != nil || got != want {
    				t.Errorf("off %d, size %d = %v, %v (%q); want %q", off, size, n, err, got, want)
    			}
    		}
    	}
    
    }
    
    type zeros struct{}
    
    func (zeros) Read(p []byte) (int, error) {
    	clear(p)
    	return len(p), nil
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

    // An IP address can be represented in different formats, to guarantee the uniqueness of the IP,
    // the name of the object is the IP address in canonical format, four decimal digits separated
    // by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6.
    // Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1
    // Invalid: 10.01.2.3 or 2001:db8:0:0:0::1
    message IPAddress {
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/array_grad_test.cc

    };
    
    TEST_P(CppGradients, TestIdentityNGrad) {
      // This test is interesting because the current implementation of GradientTape
      // would return [0, 1] whereas we use build_default_zeros_grads=false here
      // so we get back [nullptr, 1].
    
      AbstractTensorHandlePtr x1;
      {
        AbstractTensorHandle* x1_raw = nullptr;
        status_ = TestScalarTensorHandle<float, TF_FLOAT>(
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. docs/pt/docs/history-design-future.md

    Dessa forma eu pude encontrar a melhor maneira de reduzir duplicação de código o máximo possível, ter completação de texto em todos os lugares, conferência de tipos e erros etc.
    
    Tudo de uma forma que oferecesse a melhor experiência de desenvolvimento para todos os desenvolvedores.
    
    ## Requisitos
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

      static long load64Safely(byte[] input, int offset, int length) {
        long result = 0;
        // Due to the way we shift, we can stop iterating once we've run out of data, the rest
        // of the result already being filled with zeros.
    
        // This loop is critical to performance, so please check HashBenchmark if altering it.
        int limit = Math.min(length, 8);
        for (int i = 0; i < limit; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
Back to top