Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for resources (0.28 sec)

  1. tensorflow/c/eager/parallel_device/BUILD

        ],
        visibility = ["//tensorflow/python:__pkg__"],
    )
    
    filegroup(
        name = "sources",
        srcs = [
            ":device_sources",
            ":lib_sources",
        ],
        visibility = ["//tensorflow/python:__pkg__"],
    )
    
    cc_library(
        name = "parallel_device",
        srcs = [":device_sources"],
        hdrs = [":device_headers"],
        visibility = ["//visibility:private"],
        deps = [
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

                static_cast<TF_Code>(tensorflow::error::PERMISSION_DENIED));
      EXPECT_EQ(TF_UNAUTHENTICATED,
                static_cast<TF_Code>(tensorflow::error::UNAUTHENTICATED));
      EXPECT_EQ(TF_RESOURCE_EXHAUSTED,
                static_cast<TF_Code>(tensorflow::error::RESOURCE_EXHAUSTED));
      EXPECT_EQ(TF_FAILED_PRECONDITION,
                static_cast<TF_Code>(tensorflow::error::FAILED_PRECONDITION));
    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/c_api.cc

        *dst = tensorflow::Tensor(tensorflow::DT_RESOURCE, dst->shape());
        if (!dst->scalar<tensorflow::ResourceHandle>()().ParseFromString(
                string(static_cast<const char*>(tensor_interface->Data()),
                       tensor_interface->ByteSize()))) {
          return InvalidArgument(
              "Malformed TF_RESOURCE tensor: unable to parse resource handle");
        }
        return absl::OkStatus();
      }
      return absl::OkStatus();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  4. RELEASE.md

            `tf.lookup.StaticHashTable.__init__` to create the table in anonymous
            mode. In this mode, the table resource can only be accessed via resource
            handles (not resource names) and will be deleted automatically when all
            resource handles pointing to it are gone.
    *   `tf.data`:
        *   Introduce the `tf.data.experimental.at` API which provides random access
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  5. tensorflow/c/BUILD

            "//tensorflow/core:test_main",
            "//tensorflow/core/kernels:array",
            "//tensorflow/core/kernels:control_flow_ops",
            "//tensorflow/core/kernels:math",
            "//tensorflow/core/platform:resource_loader",
        ],
    )
    
    tf_cc_test(
        name = "c_api_experimental_test",
        size = "medium",
        srcs = ["c_api_experimental_test.cc"],
        data = [
            "testdata/tf_record",
    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)
  6. tensorflow/c/eager/tape.h

      std::unordered_map<int64_t, TapeTensor> sources_that_are_targets;
      for (int grad_index = 0, end = grad.size(); grad_index < end; ++grad_index) {
        Gradient* grad_tensor = grad[grad_index];
        if (grad_tensor != nullptr) {
          int64_t tensor_id = vspace_.TensorId(grad_tensor);
          targets.push_back(tensor_id);
          if (sources_set.find(tensor_id) != sources_set.end()) {
            sources_that_are_targets.emplace(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  7. tensorflow/c/c_api_experimental.cc

                         TF_ShapeAndTypeList* input_tensors_as_shapes,
                         TF_ShapeAndTypeList** input_resource_shapes_and_types,
                         TF_ShapeAndTypeList** output_shapes,
                         TF_ShapeAndTypeList*** output_resource_shapes_and_types,
                         TF_Status* status) {
      using tensorflow::NodeDef;
      using tensorflow::OpRegistrationData;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/custom_gradient_test.cc

      tape.RecordOperation(inputs, {exp_output}, gradient_function.release());
      TF_RETURN_IF_ERROR(tape.ComputeGradient(ctx,
                                              /*targets*/ {exp_output},
                                              /*sources=*/inputs,
                                              /*output_gradients=*/{},
                                              /*result=*/outputs));
      exp_output->Unref();
      return absl::OkStatus();
    }
    
    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)
  9. tensorflow/c/experimental/gradients/grad_test_helper.cc

        TF_RETURN_IF_ERROR(
            forward_model(tape_ctx.get(), inputs, absl::MakeSpan(temp_outputs)));
    
        TF_RETURN_IF_ERROR(tape.ComputeGradient(ctx, /*targets=*/temp_outputs,
                                                /*sources=*/inputs,
                                                /*output_gradients=*/{}, outputs));
        for (auto temp_output : temp_outputs) {
          temp_output->Unref();
        }
        return absl::OkStatus();
      };
    }
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top