Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 271 for assertMem (0.43 sec)

  1. src/time/tick_test.go

    		noTick()
    
    		// Test that len sees an immediate tick arrive
    		// for Reset of timer in heap.
    		tim.Reset(1)
    		assertLen()
    		assertTick()
    
    		// Test that len sees an immediate tick arrive
    		// for Reset of timer NOT in heap.
    		tim.Stop()
    		drainAsync()
    		tim.Reset(1)
    		assertLen()
    		assertTick()
    	}
    
    	// Sleep long enough that a second tick must happen if this is a ticker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/saved_model_bundle_test.cc

        TF_EXPECT_OK(Env::Default()->FileExists(asset_filepath));
    
        std::vector<Tensor> path_outputs;
        TF_ASSERT_OK(
            bundle.session->Run({}, {"filename_tensor:0"}, {}, &path_outputs));
        ASSERT_EQ(1, path_outputs.size());
    
        test::ExpectTensorEqual<tstring>(
            test::AsTensor<tstring>({"foo.txt"}, TensorShape({})), path_outputs[0]);
      }
    
      void CheckSavedModelBundle(const string& export_dir,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. tensorflow/c/ops.h

    TF_CAPI_EXPORT extern int TF_ShapeInferenceContextRankKnown(
        TF_ShapeInferenceContext* ctx, TF_ShapeHandle* handle);
    
    // If <handle> has rank <rank>, or its rank is unknown, return OK and return the
    // shape with asserted rank in <*result>. Otherwise an error is placed into
    // `status`.
    TF_CAPI_EXPORT extern void TF_ShapeInferenceContextWithRank(
        TF_ShapeInferenceContext* ctx, TF_ShapeHandle* handle, int64_t rank,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/tests/tfcompile_test.cc

      ASSERT_TRUE(muladd_shape != nullptr);
      ASSERT_EQ(muladd_shape->parameters_size(), 2);
      EXPECT_TRUE(
          ShapeUtil::Compatible(xla::Shape(muladd_shape->parameters(0)), f32_2x2));
      EXPECT_TRUE(
          ShapeUtil::Compatible(xla::Shape(muladd_shape->parameters(1)), f32_2x2));
    
      const xla::Shape muladd_result(muladd_shape->result());
      ASSERT_EQ(muladd_result.element_type(), xla::TUPLE);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      TF_ASSERT_OK(BuildXlaOps(root, fdef_lib, &graph));
    
      Node* stateful_partitioned_call_op = nullptr;
      for (Node* n : graph->op_nodes()) {
        if (n->type_string() == "StatefulPartitionedCall") {
          ASSERT_EQ(stateful_partitioned_call_op, nullptr);
          stateful_partitioned_call_op = n;
        }
      }
    
      ASSERT_NE(stateful_partitioned_call_op, nullptr);
      auto xla_compile = NodeWith(Op("_XlaCompile"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc

      EXPECT_TRUE(mlir::isa<mlir::DenseStringElementsAttr>(attr));
      auto string_attr = mlir::cast<mlir::DenseStringElementsAttr>(attr);
      auto string_values = string_attr.getRawStringData();
      ASSERT_EQ(string_values.size(), 4);
      EXPECT_EQ(string_values[0], mlir::StringRef("one"));
      EXPECT_EQ(string_values[1], mlir::StringRef("two"));
      EXPECT_EQ(string_values[2], mlir::StringRef("three"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

    //   ...
    //
    // where pred_format is a function or functor that takes n (in the
    // case of ASSERT_PRED_FORMATn) values and their source expression
    // text, and returns a testing::AssertionResult.  See the definition
    // of ASSERT_EQ in gtest.h for an example.
    //
    // If you don't care about formatting, you can use the more
    // restrictive version:
    //
    //   ASSERT_PRED1(pred, v1)
    //   ASSERT_PRED2(pred, v1, v2)
    //   ...
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-main/src/executable/resources/META-INF/LICENSE

          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
          incurred by, or claims asserted against, such Contributor by reason
          of your accepting any such warranty or additional liability.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. licenses/github.com/spf13/cobra/LICENSE.txt

          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
          incurred by, or claims asserted against, such Contributor by reason
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Oct 26 02:47:39 UTC 2019
    - 9.9K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

    //   ...
    //
    // where pred_format is a function or functor that takes n (in the
    // case of ASSERT_PRED_FORMATn) values and their source expression
    // text, and returns a testing::AssertionResult.  See the definition
    // of ASSERT_EQ in gtest.h for an example.
    //
    // If you don't care about formatting, you can use the more
    // restrictive version:
    //
    //   ASSERT_PRED1(pred, v1)
    //   ASSERT_PRED2(pred, v1, v2)
    //   ...
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top