Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for name (0.64 sec)

  1. tensorflow/c/c_test.c

        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/c/BUILD

        ],
    )
    
    filegroup(
        name = "pywrap_tf_session_hdrs",
        srcs = [
            "python_api.h",
        ],
        visibility = [
            "//tensorflow/core:__pkg__",
            "//tensorflow/python:__pkg__",
        ],
    )
    
    cc_library(
        name = "tf_attrtype",
        hdrs = ["tf_attrtype.h"],
        visibility = ["//visibility:public"],
    )
    
    cc_library(
        name = "c_api_macros_hdrs",
        hdrs = [
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  3. WORKSPACE

    )
    
    # buildifier: disable=same-origin-load
    load("@rules_python//python:repositories.bzl", "py_repositories")
    
    py_repositories()
    
    load("@rules_python//python:repositories.bzl", "python_register_toolchains")  # buildifier: disable=same-origin-load
    load(
        "//tensorflow/tools/toolchains/python:python_repo.bzl",
        "python_repository",
    )
    
    python_repository(name = "python_version_repo")
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 3K bytes
    - Viewed (2)
  4. tensorflow/c/eager/c_api_experimental.h

    extern "C" {
    #endif
    
    // Resets `op_to_reset` with `op_or_function_name` and `raw_device_name`. This
    // is for performance optimization by reusing an exiting unused op rather than
    // creating a new op every time. If `raw_device_name` is `NULL` or empty, it
    // does not set the device name. If it's not `NULL`, then it attempts to parse
    // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  5. ci/official/envs/linux_arm64

    TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX=linux_arm64
    # Note: this is not set to "--cpu", because that changes the package name
    # to tensorflow_cpu. These ARM builds are supposed to have the name "tensorflow"
    # despite lacking Nvidia CUDA support.
    TFCI_BUILD_PIP_PACKAGE_ARGS="--repo_env=WHEEL_NAME=tensorflow"
    TFCI_DOCKER_ENABLE=1
    TFCI_DOCKER_IMAGE=gcr.io/tensorflow-sigs/build-arm64:tf-2-16-multi-python
    TFCI_DOCKER_PULL_ENABLE=1
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 23:12:40 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  6. tensorflow/c/eager/immediate_execution_tensor_handle.cc

      }
      Status s;
      const char* device_name = DeviceName(&s);
      if (!s.ok()) {
        device_name = "<error fetching device name>";
      }
      return absl::StrCat("TensorHandle(", value_string, ", shape=", shape_string,
                          ", dtype=", DataType_Name(DataType()), ", device=\"",
                          device_name, "\")");
    }
    
    Status ImmediateExecutionTensorHandle::SummarizeValue(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/dlpack.cc

      tensorflow::DeviceNameUtils::ParseFullName(device_name, &parsed_name);
      std::string device_type = parsed_name.type;
      int device_id = 0;
      if (parsed_name.has_id) {
        device_id = parsed_name.id;
      }
    
      ctx.device_id = device_id;
      if (device_type == "CPU") {
        ctx.device_type = DLDeviceType::kDLCPU;
      } else if (device_type == "GPU") {
    #if TENSORFLOW_USE_ROCM
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/nn_grad.cc

        AbstractTensorHandle* upstream_grad = grad_outputs[0];
        AbstractTensorHandle* activations = forward_outputs_[0];
    
        // Calculate Grad
        std::string name = "relu_grad";
        TF_RETURN_IF_ERROR(ReluGrad(ctx, upstream_grad, activations,
                                    &grad_inputs[0], name.c_str()));
        return absl::OkStatus();
      }
      ~ReluGradientFunction() override {
        for (auto output : forward_outputs_) {
          if (output) {
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/BUILD

    )
    
    # This is only for plugins
    cc_library(
        name = "filesystem_interface",
        hdrs = ["filesystem_interface.h"],
        visibility = ["//visibility:public"],
        deps = [
            "//tensorflow/c:tf_file_statistics",
            "//tensorflow/c:tf_status",
        ],
    )
    
    # Core TensorFlow depends on this, will be included in main library
    cc_library(
        name = "modular_filesystem",
        srcs = [
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        tensorflow::NameAttrList func_name;
        func_name.set_name(string(value, value + length));
        op_->node_builder.Attr(attr_name, func_name);
        return absl::OkStatus();
      }
      Status SetAttrTensor(const char* attr_name,
                           AbstractTensorInterface* tensor) override {
        return tensorflow::errors::Unimplemented(
            "SetAttrTensor has not been implemented yet.");
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
Back to top