Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 140 for Vector3 (0.39 sec)

  1. tensorflow/c/experimental/gradients/grad_test_helper.cc

        Model model, Model grad_model, AbstractContext* ctx,
        absl::Span<AbstractTensorHandle* const> inputs, bool use_function,
        double abs_error) {
      auto num_inputs = inputs.size();
      std::vector<AbstractTensorHandle*> outputs(num_inputs);
      auto s = RunModel(grad_model, ctx, inputs, absl::MakeSpan(outputs),
                        /*use_function=*/use_function);
      ASSERT_EQ(errors::OK, s.code()) << s.message();
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. tensorflow/c/env.cc

    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/path.h"
    #include "tensorflow/core/platform/types.h"
    
    struct TF_StringStream {
      std::vector<::tensorflow::string>* list;
      size_t position;
    };
    
    void TF_CreateDir(const char* dirname, TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
      ::tensorflow::Set_TF_Status_from_Status(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function_test.cc

        std::vector<TF_Output> out;
        for (auto op : ops) {
          out.push_back({op, 0});
        }
        return out;
      }
    
      void Define(int num_opers, const std::vector<TF_Operation*>& opers,
                  const std::vector<TF_Operation*>& inputs,
                  const std::vector<TF_Operation*>& outputs,
                  const std::vector<string>& output_names,
                  bool expect_failure = false) {
    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)
  4. tensorflow/c/experimental/grappler/grappler.cc

    #include "tensorflow/c/experimental/grappler/grappler.h"
    
    #include <algorithm>
    #include <cstddef>
    #include <cstring>
    #include <string>
    #include <unordered_map>
    #include <unordered_set>
    #include <vector>
    
    #include "absl/status/status.h"
    #include "tensorflow/c/c_api_macros.h"
    #include "tensorflow/c/experimental/grappler/grappler_internal.h"
    #include "tensorflow/c/tf_buffer.h"
    #include "tensorflow/c/tf_buffer_internal.h"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  5. tensorflow/c/eager/dlpack.cc

    // original framework of destruction, and this context will be deleted also.
    struct TfDlManagedTensorCtx {
      TensorReference reference;
      std::vector<int64_t> shape;
      std::vector<int64_t> strides;
      DLManagedTensor tensor;
    
      explicit TfDlManagedTensorCtx(const TensorReference& ref) : reference(ref) {}
    };
    
    // Gets tensor from eager tensor handle.
    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)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                new TestStringListGenerator() {
                  @Override
                  protected List<String> create(String[] elements) {
                    return new Vector<>(MinimalCollection.of(elements));
                  }
                })
            .named("Vector")
            .withFeatures(
                ListFeature.GENERAL_PURPOSE,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 12.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_context.h

      virtual bool UsesTFRT() = 0;
    
      // List attributes of available devices
      virtual void ListDevices(std::vector<DeviceAttributes>* devices) = 0;
    
      // Add `devices` into context's device manager. Context's device manager
      // will take ownership and maintain devices' lifetime.
      virtual Status AddDevices(std::vector<std::unique_ptr<Device>> devices) = 0;
    
      // Block until all pending nodes are finished.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/array_grad_test.cc

    using tensorflow::TF_StatusPtr;
    
    Status IdentityNModel(AbstractContext* ctx,
                          absl::Span<AbstractTensorHandle* const> inputs,
                          absl::Span<AbstractTensorHandle*> outputs) {
      std::vector<AbstractTensorHandle*> temp_outputs(2);
      TF_RETURN_IF_ERROR(
          ops::IdentityN(ctx, inputs, absl::MakeSpan(temp_outputs), "IdentityN"));
      // Although, `ops::IdentityN` returns 2 tensors, the first tensor isn't needed
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradients_test.cc

    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace gradients {
    namespace internal {
    namespace {
    using std::vector;
    using tensorflow::TF_StatusPtr;
    using tracing::TracingOperation;
    
    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental_graph.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <memory>
    #include <utility>
    #include <vector>
    
    #include "absl/strings/str_cat.h"
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/eager/c_api_internal.h"
    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