Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for unwrapping (0.11 sec)

  1. tensorflow/cc/saved_model/experimental/public/concrete_function.h

      const FunctionMetadata* GetFunctionMetadata();
    
     private:
      friend class SavedModelAPI;
      friend class ConcreteFunctionList;
    
      // TODO(bmzhao): Consider adding a macro for wrapping/unwrapping
      // when moving out of experimental.
      static ConcreteFunction* wrap(TF_ConcreteFunction* p) {
        return reinterpret_cast<ConcreteFunction*>(p);
      }
      static TF_ConcreteFunction* unwrap(ConcreteFunction* p) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  2. src/errors/errors.go

    // return an error including appropriate context that satisfies
    //
    //	errors.Is(err, errors.ErrUnsupported)
    //
    // either by directly wrapping ErrUnsupported or by implementing an [Is] method.
    //
    // Functions and methods should document the cases in which an error
    // wrapping this will be returned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 19:45:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. pkg/structured/structured.go

    func NewErr(serr *Error, err error) *Error {
    	// Make a copy so that dictionary entry is not modified.
    	ne := *serr
    	ne.Err = err
    	return &ne
    }
    
    // Unwrap implements error unwrapping for %w verb.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 15 23:58:50 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestErrorHandlingIntegrationTest.groovy

            } else {
                testFailure.assertStderr(containsText("cannot open shared object file"))
            }
        }
    
        @ToBeFixedForConfigurationCache
        def "fails when force-unwrapping an optional results in an error"() {
            buildWithApplicationAndDependencies()
            addForceUnwrappedOptionalTest()
    
            expect:
            fails(':app:test')
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/experimental/public/signature_def_function.h

      const SignatureDefFunctionMetadata* GetFunctionMetadata();
    
     private:
      friend class SavedModelAPI;
      friend class ConcreteFunctionList;
    
      // TODO(bmzhao): Consider adding a macro for wrapping/unwrapping
      // when moving out of experimental.
      static SignatureDefFunction* wrap(TF_SignatureDefFunction* p) {
        return reinterpret_cast<SignatureDefFunction*>(p);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 17 23:03:48 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/extra-models.md

    print(user_dict)
    ```
    
    we would get a Python `dict` with:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Unwrapping a `dict`
    
    If we take a `dict` like `user_dict` and pass it to a function (or class) with `**user_dict`, Python will "unwrap" it. It will pass the keys and values of the `user_dict` directly as key-value arguments.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompletionCandidateChecker.kt

         * is (FirCheckedSafeCallSubject)[org.jetbrains.kotlin.fir.expressions.FirCheckedSafeCallSubject] which requires additional unwrapping
         * to be used for call resolution.
         */
        private fun findReceiverFirExpression(receiverExpression: KtExpression): FirExpression? {
            if (receiverExpression is KtStatementExpression) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingTaskExecutionGraph.kt

        private val problemFactory: ProblemFactory
    ) : TaskExecutionGraphInternal {
    
        private
        val delegate: TaskExecutionGraphInternal = when (taskGraph) {
            // 'unwrapping' ensures that there are no chains of delegation
            is CrossProjectConfigurationReportingTaskExecutionGraph -> taskGraph.delegate
            else -> taskGraph
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Invokable.java

       *     control and the underlying method or constructor is inaccessible.
       * @throws IllegalArgumentException if the number of actual and formal parameters differ; if an
       *     unwrapping conversion for primitive arguments fails; or if, after possible unwrapping, a
       *     parameter value cannot be converted to the corresponding formal parameter type by a method
       *     invocation conversion.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/Invokable.java

       *     control and the underlying method or constructor is inaccessible.
       * @throws IllegalArgumentException if the number of actual and formal parameters differ; if an
       *     unwrapping conversion for primitive arguments fails; or if, after possible unwrapping, a
       *     parameter value cannot be converted to the corresponding formal parameter type by a method
       *     invocation conversion.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top