Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Bedros (0.23 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. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      public void testShort() {
        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. 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)
  4. docs/pt/docs/tutorial/path-params-numeric-validations.md

        Estas funções são assim (ao invés de apenas usar as classes diretamente) para que seu editor não acuse erros sobre seus tipos.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      public void testShort() {
        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top