Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 495 for testFS (0.28 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc

    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/util/tensor_bundle/tensor_bundle.h"
    #include "tsl/platform/status.h"
    #include "tsl/platform/status_matchers.h"
    
    namespace tensorflow {
    namespace quantization {
    namespace {
    
    using ::tensorflow::test::AsTensor;
    using ::tensorflow::test::ExpectEqual;
    using ::testing::IsEmpty;
    using ::testing::Not;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  2. tensorflow/c/kernels_test.cc

    REGISTER_OP("StreamOp").Output("output1: float");
    
    TEST_F(DeviceKernelOpTest, TestStream) {
      auto my_compute_func = [](void* kernel, TF_OpKernelContext* ctx) {
        TF_Status* s = TF_NewStatus();
        SP_Stream stream = TF_GetStream(ctx, s);
        // Stream is always null if device is not a pluggable device. More test
        // cases will be added when pluggable device mechanism is supported.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets_test.cc

      mlir::OpBuilder builder_;
    };
    
    TEST_F(XlaLegalizeTargetsTest, CreatesConversionTargets) {
      auto const_int = builder_.create<mlir::arith::ConstantIntOp>(
          builder_.getUnknownLoc(), /*value=*/10, builder_.getI32Type());
    
      ConversionTarget target =
          GetDefaultLegalConversionTargets(context_, /*legalize_chlo=*/false);
      EXPECT_TRUE(target.isLegal(const_int));
    }
    
    TEST_F(XlaLegalizeTargetsTest, AllowsCHLODialect) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 05:56:39 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc

      std::unique_ptr<StaticDeviceMgr> device_mgr_;
      EagerContextPtr ctx_;
    };
    
    // Sanity check that constructing a tensorflow::Variable from a SavedVariable
    // 1. does not cause an error
    // 2. preserves dtype and shape.
    TEST_P(SavedVariableLoadingTest, LoadSavedVariableSuccessful) {
      auto& test_params = GetParam();
      DataType dtype = std::get<0>(test_params);
      TensorShape shape(std::get<1>(test_params));
    
      SavedVariable saved_variable;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

          /*ret_def=*/{{"out", "out:output:0"}});
      *fdef_lib.add_function() = std::move(func);
      return fdef_lib;
    }
    
    // This tests a rewrite that only makes sense and is active in a CUDA-enabled
    // build.  Specifically we check that we insert an IdentityN op to avoid extra
    // device-to-host copies.
    TEST_F(BuildXlaOpsTest, NoDeviceToHostCopiesForClustersWithInt32Inputs) {
      const char* kXlaDeviceName = "/job:worker/replica:0/task:0/device:GPU:0";
    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. src/internal/testenv/exec.go

    //     in its Cancel function
    //   - if the test has a deadline, adds a Context timeout and WaitDelay
    //     for an arbitrary grace period before the test's deadline expires,
    //   - fails the test if the command does not complete before the test's deadline, and
    //   - sets a Cleanup function that verifies that the test did not leak a subprocess.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 27 17:53:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    	}
    	for _, test := range tl {
    		if test.got != test.exp {
    			t.Errorf("On %v, expected '%v', but got '%v'",
    				test.name, test.exp, test.got)
    		}
    	}
    }
    
    func TestPrintDeployment(t *testing.T) {
    
    	testDeployment := apps.Deployment{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:              "test1",
    			CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

        tf_executor.graph {
          %out, %ctl = tf_executor.island wraps "tf.Const"() {device = "", value = dense<["test_1"]> : tensor<1x!tf_type.string>} : () -> tensor<1x!tf_type.string>
          %out_0, %ctl_1 = tf_executor.island wraps "tf.Const"() {device = "", value = dense<[1]> : tensor<1xi64>} : () -> tensor<1xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

      EXPECT_EQ(histogram.num(), 1);
      EXPECT_EQ(compilation_status.Delta("kOldBridgeNoMlirSuccess"), 1);
    }
    
    TEST_F(CompileTFGraphTest, SuccessfullyCompilesWithManualSharding) {
      // MLIR module from failing test.
      constexpr char kSupportedManualSharding[] = R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. src/strconv/testdata/testfp.txt

    # Floating-point conversion test cases.
    # Empty lines and lines beginning with # are ignored.
    # The rest have four fields per line: type, format, input, and output.
    # The input is given either in decimal or binary scientific notation.
    # The output is the string that should be produced by formatting the
    # input with the given format.
    #
    # The formats are as in C's printf, except that %b means print
    # binary scientific notation: NpE = N x 2^E.
    
    # TODO:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 7.9K bytes
    - Viewed (0)
Back to top