Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Combine (0.12 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. .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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy

         * @return the list of indy modes
         */
        def indyModes() {
            return [true, false]
        }
    
        final def testCasesWithIndyModes() {
            // Combine each test case with enableIndy=true and/or enableIndy=false
            return [testCases(), indyModes()].combinations().collect { it.flatten() }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

      val survey = CipherSuiteSurvey(clients = clients, ianaSuites = ianaSuitesNew, orderBy = orderBy)
    
      survey.printGoogleSheet()
    }
    
    fun rest(clients: List<Client>): List<SuiteId> {
      // combine all ciphers to get these near the top
      return clients.flatMap { it.enabled }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top