Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for We (0.12 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_test.cc

        TF_DeleteOutputList(func_outputs);
      }
    
      /**
       * We traced so far this function:
       *
       *   def two_adds(a, b):
       *     my_add1 = a + b
       *     my_add2 = b + b
       *     return my_add1, my_add2
       *
       * Now we will execute this function with an eager context:
       *
       *   output1, output2 = two_adds(2.0, 3.0)
       *
       * and check that we got 5.0 and 6.0 as results.
       */
    
      // Build eager context.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      std::string translated_name = TranslateName(dir);
      // Note that `children` is allocated by the plugin and freed by core
      // TensorFlow, so we need to use `plugin_memory_free_` here.
      char** children = nullptr;
      const int num_children =
          ops_->get_children(filesystem_.get(), translated_name.c_str(), &children,
                             plugin_status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

        using a job called "copybara".
    
    **5. Copy to Google Internal codebase and run internal CI**
    
    -   Once the PR is in the Google codebase, we make sure it integrates well with
        its dependencies and the rest of the system.
    -   Rarely, If the tests fail at this stage, we cannot merge the code.
    -   If needed, we may come to you to make some changes. At times, it may not be
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      int64_t read;
      auto content_length = stream.headers().find("content-length");
      if (content_length == stream.headers().end()) {
        // When we read a file with offset that is bigger than the actual file size.
        // GCS will return an empty header (e.g no `content-length` header). In this
        // case, we will set read to `0` and continue.
        read = 0;
      } else if (!absl::SimpleAtoi(content_length->second, &read)) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

    //
    // Below here we do the gradient algorithm. It works as follows:
    //
    // First we filter the tape to just the subset of operations we want to
    // differentiate. In the process of doing so we count how many times each Tensor
    // is used as an input to an op (so we know when we're done computing gradients
    // for that Tensor). We also count, for each tape entry, how many of its output
    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)
  6. tensorflow/c/BUILD

            "//conditions:default": [],
        }),
        tags = [
            "no_cuda_asan",  # TODO(b/181771536)
            "no_windows",  # TODO(b/155444728)
        ],
        # We must ensure that the dependencies can be dynamically linked since
        # the shared library must be able to use core:framework.
        deps = [
            ":c_api",
            ":c_api_internal",
            ":c_test_util",
    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)
  7. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    to a banned CUDA dependency when '--define framework_shared_object=false' is set.
    This means that a CUDA target was probably included via an is_static condition,
    used when targeting platforms like Windows where we build statically instead
    of dynamically. Here's the output from bazel query:
    EOF
      cat $BATS_TEST_TMPDIR/out
      [[ ! -s $BATS_TEST_TMPDIR/out ]]
    }
    
    @test "All tensorflow.org/code links point to real files" {
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        }
        if (op_type_.empty()) {
          return errors::FailedPrecondition(
              "GraphOperation::Reset must be called before calling SetOpName.");
        }
        // TODO(b/145674566): We use Graph::NewName to get a unique name here but
        // this may not be consistent with python's naming policy.
        mutex_lock l(g_->mu);
        op_.reset(new TF_OperationDescription(g_, op_type_.c_str(),
    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)
  9. tensorflow/c/c_api_experimental.cc

      gpu_options->set_allow_growth(gpu_memory_allow_growth);
    
      (*config.mutable_device_count())["CPU"] = num_cpu_devices;
    
      // TODO(b/113217601): This is needed for EagerContext::runner_ to use a
      // threadpool, so that we avoid the possibility of running the runner_ in the
      // threadpool of GPU event mgr, as that can trigger more callbacks to be
      // scheduled on that same threadpool, causing a deadlock in cases where the
    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. tensorflow/c/eager/dlpack.cc

      // There are two ways to represent compact row-major data
      // 1) nullptr indicates tensor is compact and row-majored.
      // 2) fill in the strides array as the real case for compact row-major data.
      // Here we choose option 2, since some frameworks didn't handle the strides
      // argument properly.
      dlm_tensor->dl_tensor.strides = stride_arr->data();
    
      dlm_tensor->dl_tensor.byte_offset =
    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)
Back to top