Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for effect (0.14 sec)

  1. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      const string dev0_name = "/job:localhost/replica:0/task:0/device:CPU:0";
      TFE_TensorHandle* var_handle0 = TestVariable(ctx, 1.0, dev0_name);
      EXPECT_NE(var_handle0, nullptr);
    
      tensorflow::Status status2;
      EXPECT_EQ(tensorflow::unwrap(var_handle0)->DeviceName(&status2), dev0_name);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_remote_test.cc

      float product[4] = {0};
      EXPECT_EQ(sizeof(product), TF_TensorByteSize(t));
      memcpy(&product[0], TF_TensorData(t), TF_TensorByteSize(t));
      TF_DeleteTensor(t);
      EXPECT_EQ(7, product[0]);
      EXPECT_EQ(10, product[1]);
      EXPECT_EQ(15, product[2]);
      EXPECT_EQ(22, product[3]);
    
      TFE_DeleteTensorHandle(h0_task0);
      TFE_DeleteTensorHandle(h1_task0);
      TFE_DeleteTensorHandle(h0_task1);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 12 00:14:22 GMT 2020
    - 5.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

                              "AssertAndCollective", TFE_OpGetAttrs(call_op.get()),
                              /*expected_max_outputs=*/1, status.get());
      EXPECT_NE(TF_GetCode(status.get()), TF_CANCELLED);
      EXPECT_EQ(TF_GetCode(status.get()), TF_INVALID_ARGUMENT);
      EXPECT_THAT(TF_Message(status.get()), HasSubstr("assertion failed"));
    
      // Note that future collectives with the same context do not work at the
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  4. ci/devinfra/README.md

    # DevInfra CI Directory
    
    > **Warning** This folder is still under construction. It is part of an ongoing
    > effort to improve the structure of CI and build related files within the
    > TensorFlow repo. This warning will be removed when the contents of this
    > directory are stable and appropriate documentation around its usage is in
    > place.
    
    Maintainer: TensorFlow DevInfra
    
    Issue Reporting: File an issue against this repo and tag
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Jun 06 21:00:01 GMT 2023
    - 732 bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/custom_gradient_test.cc

      TF_Tensor* result_tensor;
      s = GetValue(outputs[0], &result_tensor);
      ASSERT_EQ(errors::OK, s.code()) << s.message();
      auto result_value = static_cast<float*>(TF_TensorData(result_tensor));
      EXPECT_EQ(*result_value, 1.0);
      outputs[0]->Unref();
      TF_DeleteTensor(result_tensor);
      result_tensor = nullptr;
    }
    
    INSTANTIATE_TEST_SUITE_P(
        CustomGradientTest, CustomGradientTest,
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/grappler/grappler_test.cc

          EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
          tensorflow::OpInfo::TensorProperties in_props;
          Status s = tensorflow::BufferToMessage(in_props_buf[0], &in_props);
          TF_ASSERT_OK(s);
    
          EXPECT_EQ(DT_FLOAT, in_props.dtype());
          EXPECT_FALSE(in_props.shape().unknown_rank());
          EXPECT_EQ(2, in_props.shape().dim_size());
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      ASSERT_TF_OK(status_);
    
      tf_gcs_filesystem::PathExists(filesystem_, dst.c_str(), status_);
      EXPECT_TF_OK(status_);
      tf_gcs_filesystem::RenameFile(filesystem_, src.c_str(), dst.c_str(), status_);
      EXPECT_TF_OK(status_);
    
      auto result = ReadAll(dst);
      EXPECT_TF_OK(status_);
      EXPECT_EQ("test_old", result);
    }
    
    // These tests below are ported from
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

      EXPECT_THAT(c_buffer, NotNull());
    }
    
    TEST(TensorPjRtBufferUtilTest, SetPjRtCBufferToTensorNotAsyncValueTensor) {
      tensorflow::Tensor tensor(DT_FLOAT, {1});
      TF_ASSERT_OK_AND_ASSIGN(auto pjrt_client, xla::GetCApiClient(DEVICE_CPU));
      PJRT_Buffer* c_buffer = CreateCBuffer();
    
      TF_EXPECT_OK(SetPjRtCBufferToTensor(
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. ci/official/any.sh

    #       export TF_ANY_TARGETS="quoted list of targets, like on the command line"
    #       export TF_ANY_MODE="test" or "build" or "run" (default: "test")
    #       ./any.sh
    #
    # 2. RUN ANY OTHER SCRIPT AND ENV WITH NO SIDE EFFECTS (NO UPLOADS)
    #    To use:
    #       export TFCI=ci/official/envs/env_goes_here
    #       export TF_ANY_SCRIPT=ci/official/wheel.sh
    #       ./any.sh
    #
    # 3. DO THE SAME WITH A LOCAL CACHE OR RBE:
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 2.1K bytes
    - Viewed (1)
  10. ci/README.md

    # TensorFlow continuous integration
    
    > **Warning** This folder is still under construction. It is part of an ongoing
    > effort to improve the structure of CI and build related files within the
    > TensorFlow repo. This warning will be removed when the contents of this
    > directory are stable and appropriate documentation around its usage is in
    > place.
    
    Maintainer: TensorFlow DevInfra
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Jun 06 21:00:01 GMT 2023
    - 825 bytes
    - Viewed (0)
Back to top