Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 232 for Combine (0.13 sec)

  1. docs/en/docs/advanced/dataclasses.md

    7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses.
    
        Again, you can combine `dataclasses` with standard type annotations.
    
    8. Notice that this *path operation function* uses regular `def` instead of `async def`.
    
        As always, in FastAPI you can combine `def` and `async def` as needed.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/function/function.cc

          options.tpu_transfer_result_to_host;
      Status status = tensorflow::CreateTfExecutorToTfrtPipeline(pm, pass_options);
      if (!status.ok()) {
        return diag_handler.Combine(status);
      }
    
      if (mlir::failed(pm.run(module)))
        return diag_handler.Combine(tensorflow::errors::Internal(
            "failed to lower TF Dialect to CoreRT dialect."));
    
      if (VLOG_IS_ON(1)) {
        VLOG(1) << "TFRT dialect: ";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 08:13:15 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/additional-responses.md

    {!../../../docs_src/additional_responses/tutorial003.py!}
    ```
    
    It will all be combined and included in your OpenAPI, and shown in the API docs:
    
    <img src="/img/tutorial/additional-responses/image01.png">
    
    ## Combine predefined responses and custom ones
    
    You might want to have some predefined responses that apply to many *path operations*, but you want to combine them with custom responses needed by each *path operation*.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

      if (failed(pass_manager.run(module))) {
        return status_handler.Combine(
            absl::InvalidArgumentError("VHLO lowering failed"));
      }
    
      if (!tflite::MlirToFlatBufferTranslateFunction(
              module, options, &translated_result, serialize_stablehlo_ops)) {
        return status_handler.Combine(
            absl::InternalError("Could not translate MLIR to FlatBuffer."));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. .github/workflows/test.yml

          - name: Store coverage files
            uses: actions/upload-artifact@v4
            with:
              name: coverage-${{ matrix.python-version }}-${{ matrix.pydantic-version }}
              path: coverage
    
      coverage-combine:
        needs: [test]
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 10 00:30:25 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/all.go

    	}
    	return analyzers
    }
    
    // AllCombined returns all analyzers combined as one
    func AllCombined() analysis.CombinedAnalyzer {
    	return analysis.Combine("all", All()...)
    }
    
    // AllMultiClusterCombined returns all multi-cluster analyzers combined as one
    func AllMultiClusterCombined() analysis.CombinedAnalyzer {
    	return analysis.Combine("all-multi-cluster", AllMultiCluster()...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/error_util.cc

    }
    
    Status StatusScopedDiagnosticHandler::ConsumeStatus() {
      return BaseScopedDiagnosticHandler::ConsumeStatus();
    }
    
    Status StatusScopedDiagnosticHandler::Combine(Status status) {
      absl::Status absl_s = BaseScopedDiagnosticHandler::Combine(status);
    
      return absl_s;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. docs/debugging/xl-meta/main.go

    		},
    		cli.BoolFlag{
    			Usage: "combine inline data",
    			Name:  "combine",
    		},
    		cli.BoolFlag{
    			Usage: "combine inline data across versions when size matches",
    			Name:  "xver",
    		},
    	}
    
    	app.Action = func(c *cli.Context) error {
    		ndjson := c.Bool("ndjson")
    		if c.Bool("data") && c.Bool("combine") {
    			return errors.New("cannot combine --data and --combine")
    		}
    		// file / version / file
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MoreCollectors.java

       */
      private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
          Collector.of(
              ToOptionalState::new,
              ToOptionalState::add,
              ToOptionalState::combine,
              ToOptionalState::getOptional,
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/while_gradients.cc

      TF_RETURN_IF_ERROR(AddForwardLoopCounter(
          while_ctx, scope.NewSubScope("ForwardLoopCounter"), &forward_loop_count));
    
      // TODO(skyewm): can we combine the backprop loop counter and main gradient
      // loop into a single loop? The original Python code doesn't combine the
      // loops, but I'm not sure why.
      Output backprop_counter_cond;
      TF_RETURN_IF_ERROR(AddBackPropLoopCounter(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top