Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for name (0.18 sec)

  1. tensorflow/c/eager/c_api_test.cc

      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_0);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_1);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
    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

      // current test name.
      //
      // Since the test name contains `/` (due to parameters), this function
      // replaces `/` with `_`.
      //
      // We trade in one extra initialization for readability.
      ModularFileSystemTest() {
        const std::string test_name = tensorflow::str_util::StringReplace(
            ::testing::UnitTest::GetInstance()->current_test_info()->name(), "/",
            "_", /*replace_all=*/true);
    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/c/c_api.h

    //            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
    //            registered in graphs where this function will be used).
    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)
  5. 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 (0)
  6. .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 Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 52.6K bytes
    - Viewed (2)
  7. 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 (6)
  8. tensorflow/c/c_api_function_test.cc

    std::vector<IOSpec> M(const std::initializer_list<string>& names) {
      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)
    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)
  9. 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)
Back to top