Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Name (0.13 sec)

  1. tensorflow/c/eager/c_api_test.cc

      ASSERT_TRUE(absl::StrContains(backing_device_name, "CPU:0"))
          << backing_device_name;
    
      // Disable the test if no GPU is present.
      string gpu_device_name;
      if (GetDeviceName(ctx, &gpu_device_name, "GPU")) {
        TFE_TensorHandle* hgpu = TFE_TensorHandleCopyToDevice(
            hcpu, ctx, gpu_device_name.c_str(), status.get());
        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_test.cc

      TF_OperationDescription* init(string type) {
        // Construct op_name to match the name used by REGISTER_OP in the
        // ATTR_TEST_REGISTER calls above.
        string op_name = "CApiAttributesTestOp";
        if (type.find("list(") == 0) {
          op_name += "List";
          type = type.replace(0, 5, "");
          type = type.replace(type.size() - 1, 1, "");
        }
        op_name += type;
        return TF_NewOperation(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      std::unique_ptr<WritableFile> same_file;
      status = env_->NewAppendableFile(filepath, &same_file);
      if (!status.ok())
        GTEST_SKIP() << "NewAppendableFile() not supported: " << status;
    
      const std::string more_test_data("qwer");
      EXPECT_EQ(same_file->Append(more_test_data).code(), Code::OK);
      EXPECT_EQ(same_file->Flush().code(), Code::OK);
      EXPECT_EQ(same_file->Close().code(), Code::OK);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/BUILD

    config_setting(
        name = "arm",
        values = {"cpu": "arm"},
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "armeabi",
        values = {"cpu": "armeabi"},
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "armeabi-v7a",
        values = {"cpu": "armeabi-v7a"},
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "arm64-v8a",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  5. tensorflow/c/c_api_function_test.cc

      std::vector<IOSpec> v;
      for (const string& name : names) {
        v.push_back(IOSpec(name, DT_INVALID));
      }
      return v;
    }
    
    // Specification for an expected edge.
    // src is either:
    // - input name (as it appears in FunctionDef)
    // - name of output tensor (in nested "add:z:0" format)
    // dst is either:
    // - output name (as it appears in FunctionDef)
    // - <name_of_node>:<index_of_this_input_into_node> (this looks the same as
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  6. configure.py

      return answer
    
    
    def symlink_force(target, link_name):
      """Force symlink, equivalent of 'ln -sf'.
    
      Args:
        target: items to link to.
        link_name: name of the link.
      """
      try:
        os.symlink(target, link_name)
      except OSError as e:
        if e.errno == errno.EEXIST:
          os.remove(link_name)
          os.symlink(target, link_name)
        else:
          raise e
    
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  7. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ///
      /// Similar to `rename_file`, but both `src` and `dst` exist after this call
      /// with the same contents. In case of error, both `src` and `dst` keep the
      /// same state as before the call.
      ///
      /// If `dst` is a directory, creates a file with the same name as the source
      /// inside the target directory.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if rename was completed.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

    //  fn_body - the graph whose operations (or subset of whose operations) will be
    //            converted to TF_Function.
    //  fn_name - the name of the new TF_Function. Should match the operation
    //            name (OpDef.name) regexp [A-Z][A-Za-z0-9_.\\-/]*.
    //            If `append_hash_to_fn_name` is false, `fn_name` must be distinct
    //            from other function and operation names (at least those
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  9. .bazelrc

    build:rbe_linux_cpu --copt=-Wno-gnu-offsetof-extensions
    # Python config is the same across all containers because the binary is the same
    build:rbe_linux_cpu --repo_env=TF_PYTHON_CONFIG_REPO="@sigbuild-r2.17-clang_config_python"
    build:rbe_linux_cpu --python_path="/usr/bin/python3"
    # These you may need to change for your own GCP project.
    common:rbe_linux_cpu --remote_instance_name=projects/tensorflow-testing/instances/default_instance
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
Back to top