Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,056 for AssertJ (0.1 sec)

  1. tensorflow/c/c_api_function_test.cc

        TF_Operation* op;
        UseHelper(inputs, &op);
        return op;
      }
    
      // All the *Helper methods are used as a workaround for the restrictions that
      // one cannot call ASSERT_* methods in non-void-returning functions (when
      // exceptions are disabled during compilation)
      void UseHelper(const std::vector<TF_Output>& inputs, TF_Operation** op) {
        TF_OperationDescription* desc =
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            //
            // This is not ideal but there are events specifically for configuration from the CLI which I don't
            // believe are really valid but there are ITs which assert the right events are published so this
            // needs to be supported so the EventSpyDispatcher needs to be put in the CliRequest so that
            // it can be accessed by configuration processors.
            //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. fastapi/applications.py

                    """
                ),
            ] = "3.1.0"
            self.openapi_schema: Optional[Dict[str, Any]] = None
            if self.openapi_url:
                assert self.title, "A title must be provided for OpenAPI, e.g.: 'My API'"
                assert self.version, "A version must be provided for OpenAPI, e.g.: '2.1.0'"
            # TODO: remove when discarding the openapi_prefix parameter
            if openapi_prefix:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

    import static java.util.Arrays.asList;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.TestingCacheLoaders.CountingLoader;
    import com.google.common.cache.TestingCacheLoaders.IdentityLoader;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_test.cc

      TFE_TensorHandle* condition = TestScalarTensorHandle(ctx, true);
      TFE_TensorHandle* t1 = TestMatrixTensorHandle(ctx);
      TFE_TensorHandle* t2 = TestAxisTensorHandle(ctx);
      TFE_Op* assertOp = TFE_NewOp(ctx, "Assert", status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(assertOp, condition, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    </p>
    
    <pre>
    x.(T)
    </pre>
    
    <p>
    asserts that <code>x</code> is not <code>nil</code>
    and that the value stored in <code>x</code> is of type <code>T</code>.
    The notation <code>x.(T)</code> is called a <i>type assertion</i>.
    </p>
    <p>
    More precisely, if <code>T</code> is not an interface type, <code>x.(T)</code> asserts
    that the dynamic type of <code>x</code> is <a href="#Type_identity">identical</a>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

          // Adding the gradients to the graph can alter the prefix to prevent
          // name collisions only if this prefix has not been provided explicitly
          // by the user. If it was provided, assert that it remained intact.
          if (prefix != nullptr && !absl::StartsWith(n->name(), prefix_cmp)) {
            status->status = tensorflow::errors::Internal(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. RELEASE.md

            unsupported now. Converting these ops to Functional API op layers was
            unreliable before TF 2.4, and prone to erroring incomprehensibly or
            being silently buggy.
        *   Code that directly asserts on a Keras symbolic value in cases where ops
            like `tf.rank` used to return a static or symbolic value depending on if
            the input had a fully static shape or not. Now these ops always return
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top