Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Content (0.15 sec)

  1. tensorflow/c/eager/c_api_experimental.cc

                                        TF_Buffer* buf) {
      string content;
      cell->cell.value().SerializeToString(&content);
      void* data = tensorflow::port::Malloc(content.length());
      content.copy(static_cast<char*>(data), content.length(), 0);
      buf->data = data;
      buf->length = content.length();
      buf->data_deallocator = [](void* data, size_t length) {
        tensorflow::port::Free(data);
      };
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  2. WORKSPACE

    )
    
    load("@python//:defs.bzl", "interpreter")
    load("@rules_python//python:pip.bzl", "package_annotation", "pip_parse")
    
    NUMPY_ANNOTATIONS = {
        "numpy": package_annotation(
            additive_build_content = """\
    filegroup(
        name = "includes",
        srcs = glob(["site-packages/numpy/core/include/**/*.h"]),
    )
    cc_library(
        name = "numpy_headers",
        hdrs = [":includes"],
    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)
  3. tensorflow/c/eager/unified_api_testutil.h

    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_UNIFIED_API_TESTUTIL_H_
    #define TENSORFLOW_C_EAGER_UNIFIED_API_TESTUTIL_H_
    
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/c_api_unified_experimental.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/BUILD

            "//tensorflow/c/eager:c_api_experimental",
            "//tensorflow/c/eager:tfe_context_internal",
            "//tensorflow/core:framework",
            "//tensorflow/core:protos_all_cc",
            "//tensorflow/core:test",
            "//tensorflow/core:test_main",
            "//tensorflow/core/common_runtime/eager:context",
        ],
    )
    
    cc_library(
        name = "parallel_device_testlib",
        testonly = 1,
    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)
  5. .github/workflows/arm-ci.yml

    # limitations under the License.
    # ==============================================================================
    
    name: ARM CI
    
    on:
      push:
        branches:
          - master
          - r2.**
    permissions:
      contents: read
    
    jobs:
      build:
        # Don't do this in forks, and if labeled, only for 'kokoro:force-run'
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Feb 07 17:41:21 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

      TF_DeleteBuffer(op_list_buf);
    }
    
    class DummyKernel : public tensorflow::OpKernel {
     public:
      explicit DummyKernel(tensorflow::OpKernelConstruction* context)
          : OpKernel(context) {}
      void Compute(tensorflow::OpKernelContext* context) override {}
    };
    
    // Test we can query kernels
    REGISTER_OP("TestOpWithSingleKernel")
        .Input("a: float")
        .Input("b: float")
        .Output("o: float");
    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)
  7. tensorflow/c/experimental/gradients/nn_grad_test.cc

    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/unified_api_testutil.h"
    #include "tensorflow/c/experimental/gradients/grad_test_helper.h"
    #include "tensorflow/c/experimental/gradients/tape/tape_context.h"
    #include "tensorflow/c/experimental/ops/nn_ops.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/platform/tensor_float_32_utils.h"
    #include "tensorflow/core/platform/test.h"
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. .github/workflows/update-rbe.yml

              # returned by the API, but a sha256sum of the entire chunk of image
              # metadata. gcr.io helpfully includes it in the header of the response
              # as docker-content-digest: sha256:[digest]. Note we use egrep to
              # match exactly sha256:<hash> because curl may include a ^M symbol at
              # the end of the line.
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Apr 10 15:40:34 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.cc

    }
    
    TF_CAPI_EXPORT extern void TFE_AbortCollectiveOps(TFE_Context* ctx,
                                                      TF_Status* status) {
      tensorflow::EagerContext* context =
          tensorflow::ContextFromInterface(tensorflow::unwrap(ctx));
      auto collective_executor_handle = context->GetCollectiveExecutorHandle();
      collective_executor_handle->get()->StartAbort(status->status);
    }
    
    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)
  10. configure.py

      else:
        question += ' [y/N]: '
    
      var = environ_cp.get(var_name)
      if var is not None:
        var_content = var.strip().lower()
        true_strings = ('1', 't', 'true', 'y', 'yes')
        false_strings = ('0', 'f', 'false', 'n', 'no')
        if var_content in true_strings:
          var = True
        elif var_content in false_strings:
          var = False
        else:
          raise UserInputError(
    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)
Back to top