Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,788 for Function1 (0.16 sec)

  1. docs/en/docs/tutorial/dependencies/index.md

    As dependencies will also be called by **FastAPI** (the same as your *path operation functions*), the same rules apply while defining your functions.
    
    You can use `async def` or normal `def`.
    
    And you can declare dependencies with `async def` inside of normal `def` *path operation functions*, or `def` dependencies inside of `async def` *path operation functions*, etc.
    
    It doesn't matter. **FastAPI** will know what to do.
    
    !!! note
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

      return std::move(*loader).module();
    }
    
    // Renames functions in the stablehlo module to avoid naming conflicts with
    // existing functions in the tf module.
    // Sets _from_xla_call_module attribute for each stablehlo function.
    // Returns the new stablehlo main function's name or error.
    //
    // If we directly insert stablehlo functions into tf module, MLIR will rename
    // the stablehlo functions themselves in the tf module automatically to avoid
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/stackcheck.go

    // enough stack space for call frames, especially for a chain of
    // nosplit functions.
    //
    // It walks all functions to accumulate the number of bytes they can
    // grow the stack by without a split check and checks this against the
    // limit.
    func (ctxt *Link) doStackCheck() {
    	sc := newStackCheck(ctxt, false)
    
    	// limit is number of bytes a splittable function ensures are
    	// available on the stack. If any call chain exceeds this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. src/runtime/HACKING.md

      because they have untyped words on the stack.
    
    - Functions that must not be preempted on entry.
    
    - Functions that may run without a valid G. For example, functions
      that run in early runtime start-up, or that may be entered from C
      code such as cgo callbacks or the signal handler.
    
    Splittable functions ensure there's some amount of space on the stack
    for nosplit functions to run in and the linker checks that any static
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

        // functional form, all such external values need to become function
        // arguments of the outlined functions, and become pass through values in
        // the outlined body function. So when outlining the while body, in addition
        // to the region arguments, all these external references need to be added
        // as function arguments.
        llvm::SmallVector<Value, 4> extern_values =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc

    constexpr char kResourceFunctionMsg[] =
        "expects function level resource argument";
    constexpr char kInvalidResourceMsg[] =
        "expects resource to be a VarHandleOp or function argument";
    constexpr char kResourceNameArgAttr[] = "tf.resource_name";
    
    // Checks if a function has only one block.
    mlir::LogicalResult CheckSingleBlockFunction(func::FuncOp function) {
      if (!llvm::hasSingleElement(function)) {
        return function.emitError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

          // We'll set the resource's functions in a subsequent pass, once we get
          // all functions in a partially revived state.
          resource_revival_state.device = node.resource().device();
          objects->restored_resources[i] = std::move(resource_revival_state);
        } else if (node.kind_case() == SavedObject::kFunction) {
          // Get the SavedFunction node and skip if it has no concrete functions.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  8. tensorflow/c/ops.h

    //----------------------------------------------------
    // Functions for TF_ShapeInferenceContext.
    //
    // Functions for implementing shape inference functions. TensorFlow uses these
    // functions to determine the shape of tensors produced by an operation without
    // having to actually run the operation. If an operation chooses to provide a
    // shape inference function, it will be invoked by TensorFlow as needed.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

                           " did not have a create_resource() function"));
        }
        const SavedConcreteFunction* saved_create_resource_fn =
            create_resource_fn->saved_concrete_func;
        if (!saved_create_resource_fn->bound_inputs().empty()) {
          // TODO(b/124045874): Support loading resource functions via a top sort
          return absl::UnimplementedError(
              "Create Resource functions with captures are currently unsupported.");
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

    // function, which might not exist in case of multi-signature graphs. In that
    // case, this pass will create a new main function, which calls signature
    // functions.
    //
    // An already existing @main function will be renamed by attaching a numeric
    // suffix like `@main_0` to avoid conflict with the newly created main function.
    class InsertMainFunctionPass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top