Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Segijn (0.15 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      std::unique_ptr<ReadOnlyMemoryRegion> region;
      status = env_->NewReadOnlyMemoryRegionFromFile(filepath, &region);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
      if (!status.ok())
        GTEST_SKIP() << "NewReadOnlyMemoryRegionFromFile() not supported: "
                     << status;
      EXPECT_EQ(region->length(), test_data.size());
      EXPECT_STREQ(reinterpret_cast<const char*>(region->data()),
                   test_data.c_str());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      ops_->new_read_only_memory_region_from_file(
          filesystem_.get(), translated_name.c_str(), region.get(),
          plugin_status.get());
    
      if (TF_GetCode(plugin_status.get()) == TF_OK)
        *result = std::make_unique<ModularReadOnlyMemoryRegion>(
            std::move(region), read_only_memory_region_ops_.get());
    
      return StatusFromTF_Status(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. tensorflow/c/c_api_test.cc

      EXPECT_TF_META("v", list_size, TF_ATTR_INT, -1);
      TF_OperationGetAttrIntList(oper, "v", values, list_size, s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_TRUE(std::equal(std::begin(list), std::end(list), std::begin(values)));
    }
    
    TEST_F(CApiAttributesTest, Float) {
      auto desc = init("float");
      TF_SetAttrFloat(desc, "v", 2.718);
    
      auto oper = TF_FinishOperation(desc, s_);
    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)
  4. tensorflow/c/eager/c_api_experimental_test.cc

        const std::vector<std::string>& device_names = ListDeviceNames(ctx_0);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_1);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_test.cc

        const std::vector<std::string>& device_names = ListDeviceNames(ctx_0);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_1);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  6. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    // SECTION 3. Implementation for `TF_ReadOnlyMemoryRegion`
    // ----------------------------------------------------------------------------
    namespace tf_read_only_memory_region {
    
    // TODO(b/139060984): Implement later
    
    }  // namespace tf_read_only_memory_region
    
    // SECTION 4. Implementation for `TF_Filesystem`, the actual filesystem
    // ----------------------------------------------------------------------------
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:21:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradients.cc

      TapeVSpace vspace(ctx);
      std::vector<int64_t> target_tensor_ids = MakeTensorIDList(targets);
      std::vector<int64_t> source_tensor_ids = MakeTensorIDList(sources);
      tensorflow::gtl::FlatSet<int64_t> sources_set(source_tensor_ids.begin(),
                                                    source_tensor_ids.end());
      std::unordered_map<int64_t, TapeTensor> sources_that_are_targets;
      for (int i = 0; i < target_tensor_ids.size(); ++i) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. tensorflow/c/BUILD

        ],
        visibility = [
            "//tensorflow/c:__subpackages__",
            "//tensorflow/cc/experimental/libtf:__pkg__",
            "//tensorflow/cc/experimental/libtf:__subpackages__",
            # copybara:uncomment_begin(google-only)
            # "//tensorflow/cc/experimental/tf2:__pkg__",
            # "//tensorflow/cc/experimental/tf2:__subpackages__",
            # copybara:uncomment_end
    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)
  9. tensorflow/c/eager/c_api.h

    // completed. The memory returned might alias the internal memory used by
    // TensorFlow. Hence, callers should not mutate this memory (for example by
    // modifying the memory region pointed to by TF_TensorData() on the returned
    // TF_Tensor).
    TF_CAPI_EXPORT extern TF_Tensor* TFE_TensorHandleResolve(TFE_TensorHandle* h,
                                                             TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  10. tensorflow/c/c_api.cc

      } else {
        if (!desc->colocation_constraints.empty()) {
          desc->node_builder.Attr(
              tensorflow::kColocationAttrName,
              std::vector<string>(desc->colocation_constraints.begin(),
                                  desc->colocation_constraints.end()));
        }
        status->status = desc->node_builder.Finalize(&desc->graph->graph, &ret,
                                                     /*consume=*/true);
    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)
Back to top