Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for pensar (0.13 sec)

  1. docs/pt/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | "Dica"
    
    Quando você lançar um `HTTPException`, você pode passar qualquer valor convertível em JSON como parâmetro de `detail`, e não apenas `str`.
    
    Você pode passar um `dict` ou um `list`, etc.
    Esses tipos de dados são manipulados automaticamente pelo **FastAPI** e convertidos em JSON.
    
    ///
    
    ## Adicione headers customizados
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/behind-a-proxy.md

    ```Python hl_lines="3"
    {!../../docs_src/behind_a_proxy/tutorial002.py!}
    ```
    
    Passar o `root_path`h para `FastAPI` seria o equivalente a passar a opção de linha de comando `--root-path` para Uvicorn ou Hypercorn.
    
    ### Sobre `root_path`
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. dbflute_fess/dfprop/dependencyInjectionMap.dfprop

        #                                                                               Seasar
        #                                                                               ======
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o dbfluteDiconNamespace: (NotRequired - Default 'dbflute')
        #  The namespace of DBFlute DI configuration for Seasar.
        #
        # @SeasarOnly
        #; dbfluteDiconNamespace = dbflute
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 6.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradients.h

    // TODO(srbs): Figure out if we can avoid declaring this in the public header.
    // Wrapper for a tensor output of an operation executing under a tape.
    //
    // `GetID` returns a unique id for the wrapped tensor which is used to maintain
    // a map (`tensorflow::eager::TensorTape`) from the wrapped tensor to the id of
    // the op that produced it (or -1 if this tensor was watched using
    // `GradientTape::Watch`.) The op_id is simply a unique index assigned to each
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/immediate_execution_tensor_handle.h

      // Returns a tensor for the handle. If tensor is remote, it will be copied.
      virtual AbstractTensorInterface* Resolve(absl::Status* status) = 0;
    
      std::string DebugString() const override;
    
      // Returns a Boolean hint indicating whether callers should prefer
      // `SummarizeValue` to resolving this handle and formatting the tensor.
      //
      // For example some tensor handles may represent distributed values, in which
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib.h

                                                           TF_Status* status) const;
    
      // Construct a parallel tensor consisting of the scalar values from `values`.
      template <typename DataType>
      std::unique_ptr<ParallelTensor> ScalarsFromSequence(
          absl::Span<const DataType> values, TFE_Context* context,
          TF_Status* status) const;
    
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradients.cc

      explicit TapeVSpace(AbstractContext* ctx) : ctx_(ctx) {}
      ~TapeVSpace() override {}
    
      // Returns the number of elements in the gradient tensor.
      int64_t NumElements(AbstractTensorHandle* tensor) const override;
    
      // Consumes references to the tensors in the gradient_tensors list and returns
      // a tensor with the result.
      AbstractTensorHandle* AggregateGradients(
          gtl::ArraySlice<AbstractTensorHandle*> gradient_tensors) const override;
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_debug.cc

        TFE_TensorHandle* h, TF_Status* status) {
      tensorflow::TensorHandle* handle =
          TensorHandleFromInterface(tensorflow::unwrap(h));
      const tensorflow::Tensor* tensor;
      status->status = handle->Tensor(&tensor);
      if (!status->status.ok()) {
        return nullptr;
      }
    
      std::vector<int64_t> dev_dims = TensorShapeAsVector(*handle, &status->status);
      if (!status->status.ok()) {
        return nullptr;
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      TFE_DeleteContextOptions(opts);
    
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      // Build an abstract input tensor.
      TFE_Context* eager_ctx = TF_ExecutionContextGetTFEContext(ctx, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      TFE_TensorHandle* t = TestScalarTensorHandle(eager_ctx, 2.0f);
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  10. tensorflow/c/eager/dlpack.h

    #ifndef TENSORFLOW_C_EAGER_DLPACK_H_
    #define TENSORFLOW_C_EAGER_DLPACK_H_
    
    #include "tensorflow/c/eager/c_api.h"
    
    namespace tensorflow {
    
    // PyCapsule name for DLPack Tensor
    const char* const kDlTensorCapsuleName = "dltensor";
    
    // Converts eager tensor handle to DLPack (DLManagedTensor*), and return the
    // void* for further PyCapsule construction.
    TF_CAPI_EXPORT extern void* TFE_HandleToDLPack(TFE_TensorHandle* h,
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Mar 28 08:41:24 UTC 2020
    - 1.6K bytes
    - Viewed (0)
Back to top