Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Player (0.19 sec)

  1. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    namespace tf_random_access_file {
    
    // TODO(b/139060984): Implement later
    
    }  // namespace tf_random_access_file
    
    // SECTION 2. Implementation for `TF_WritableFile`
    // ----------------------------------------------------------------------------
    namespace tf_writable_file {
    
    // TODO(b/139060984): Implement later
    
    }  // namespace tf_writable_file
    
    // SECTION 3. Implementation for `TF_ReadOnlyMemoryRegion`
    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)
  2. tensorflow/c/c_api_experimental.cc

          if (!status->status.ok()) return;
          input_tensors_vector[i] = &input_tensor;
        }
      }
    
      // Create an inference context with dummy values, which will be updated later.
      InferenceContext c(TF_GRAPH_DEF_VERSION, node_def, op_reg_data->op_def,
                         std::vector<ShapeHandle>(num_inputs), input_tensors_vector,
                         {},
    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)
  3. tensorflow/c/eager/unified_api_testutil.cc

        // Returning null tensors from a tf.function is not supported, so we keep
        // track of indices in the model's outputs are nullptr in this set.
        // The FunctionDef only outputs the non-null tensors. We later pad the
        // function op outputs to have nullptrs at the `null_indices`.
        absl::flat_hash_set<int> null_indices;
        {
          AbstractContextPtr func_ctx(BuildFunction(fn_name));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    namespace tensorflow {
    
    // Checks that all schemes provided by a plugin are valid.
    // TODO(b/139060984): More validation could be done here, based on supported
    // charset, maximum length, etc. Punting it for later.
    static Status ValidateScheme(const char* scheme) {
      if (scheme == nullptr)
        return errors::InvalidArgument(
            "Attempted to register filesystem with `nullptr` URI scheme");
      return OkStatus();
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

              bucket.c_str(), object.c_str(), stat->base.length,
              stat->generation_number, stat->base.mtime_nsec);
      return TF_SetStatus(status, TF_OK, "");
    }
    
    // TODO(vnvo2409): Implement later
    void NewRandomAccessFile(const TF_Filesystem* filesystem, const char* path,
                             TF_RandomAccessFile* file, TF_Status* status) {
      std::string bucket, object;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        lru_list_.erase(block->lru_iterator);
        lru_list_.push_front(key);
        block->lru_iterator = lru_list_.begin();
      }
    
      // Check for inconsistent state. If there is a block later in the same file
      // in the cache, and our current block is not block size, this likely means
      // we have inconsistent state within the cache. Note: it's possible some
      // incomplete reads may still go undetected.
    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)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      TF_EXPECT_OK(ReadCache(&cache, "", block_size, block_size, &out));
      EXPECT_EQ(out.size(), 1);
      // Now read the first block; this should yield an INTERNAL error because we
      // had already cached a partial block at a later position.
      Status status = ReadCache(&cache, "", 0, block_size, &out);
      EXPECT_EQ(status.code(), error::INTERNAL);
    }
    
    TEST(RamFileBlockCacheTest, LRU) {
      const size_t block_size = 16;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
Back to top