Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for nmap (0.14 sec)

  1. tensorflow/c/c_api.cc

          "ApiDefMap is not supported on mobile.");
      return nullptr;
    #else
      mutex_lock l(api_def_map->lock);
      if (!api_def_map->update_docs_called) {
        api_def_map->api_def_map.UpdateDocs();
        api_def_map->update_docs_called = true;
      }
      string name_str(name, name_len);
      const auto* api_def = api_def_map->api_def_map.GetApiDef(name_str);
      if (api_def == nullptr) {
        return nullptr;
      }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/eager/c_api_unified_experimental.h"
    
    #include <vector>
    
    #include "absl/container/flat_hash_map.h"
    #include "absl/strings/str_cat.h"
    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_helper.h"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/grappler/grappler.cc

    // struct called "TP_Something".
    
    #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"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  4. tensorflow/c/eager/gradients.cc

      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) {
        int64_t target_id = target_tensor_ids[i];
        if (sources_set.find(target_id) != sources_set.end()) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include <algorithm>
    #include <unordered_map>
    #include <unordered_set>
    #include <utility>
    
    #include "absl/strings/match.h"
    #include "tensorflow/c/c_api_internal.h"
    #include "tensorflow/c/tf_buffer_internal.h"
    #include "tensorflow/core/framework/attr_value_util.h"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  6. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      fstat(fd, &st);
      if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "path is a directory");
      } else {
        const void* address =
            mmap(nullptr, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
        if (address == MAP_FAILED) {
          TF_SetStatusFromIOError(status, errno, path);
        } else {
          region->plugin_memory_region =
              new tf_read_only_memory_region::PosixMemoryRegion{
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_experimental.cc

      return nullptr;
    #else
      TF_Library* lib_handle = new TF_Library;
      static tensorflow::mutex mu(tensorflow::LINKER_INITIALIZED);
      static std::unordered_map<std::string, void*>* loaded_libs =
          new std::unordered_map<std::string, void*>();
      tensorflow::Env* env = tensorflow::Env::Default();
      {
        tensorflow::mutex_lock lock(mu);
        auto it = loaded_libs->find(library_filename);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  8. tensorflow/c/checkpoint_reader.cc

        string key(v2_reader_->key());
        (*var_to_shape_map)[key] = TensorShape(entry.shape());
        (*var_to_data_type_map)[key] = DataType(entry.dtype());
      }
      // The returned pointers are owned by the caller.
      return std::make_pair(std::move(var_to_shape_map),
                            std::move(var_to_data_type_map));
    }
    
    }  // namespace checkpoint
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      absl::MutexLock lock(&mu_);
      auto it = file_signature_map_.find(filename);
      if (it != file_signature_map_.end()) {
        if (it->second == file_signature) {
          return true;
        }
        // Remove the file from cache if the signatures don't match.
        RemoveFile_Locked(filename);
        it->second = file_signature;
        return false;
      }
      file_signature_map_[filename] = file_signature;
      return true;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_experimental_test.cc

      EXPECT_EQ("test/counter",
                metrics->point_set_map.at("test/counter")->metric_name);
      EXPECT_EQ(
          1, metrics->point_set_map.at("test/counter")->points.at(0)->int64_value);
    
      TFE_MonitoringCounterCellIncrementBy(cell, 5);
      EXPECT_EQ(TFE_MonitoringCounterCellValue(cell), 6);
      metrics = collection_registry->CollectMetrics(options);
      EXPECT_EQ(
          6, metrics->point_set_map.at("test/counter")->points.at(0)->int64_value);
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
Back to top