Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        TF_SetStatus(status, TF_OK, "");
        return 0;
      }
      if (!IsCacheEnabled() || (n > max_bytes_)) {
        // The cache is effectively disabled, so we pass the read through to the
        // fetcher without breaking it up into blocks.
        return block_fetcher_(filename, offset, n, buffer, status);
      }
      // Calculate the block-aligned start and end of the read.
      size_t start = block_size_ * (offset / block_size_);
    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)
  2. tensorflow/c/eager/c_api_unified_experimental_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      TF_Tensor* result_tensor = TFE_TensorHandleResolve(result_t, status.get());
    
      // Copy Tensor data into an array.
      float result_data[4] = {0};
      memcpy(&result_data[0], TF_TensorData(result_tensor),
             TF_TensorByteSize(result_tensor));
    
      int data_len = 4;  // length of result_data
    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)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      env->SetNowSeconds(now);
      tf_gcs_filesystem::RamFileBlockCache cache(
          8, 32, 1 /* max staleness */, fetcher,
          [&env]() { return env->NowSeconds(); });
      // Read three blocks into the cache, and advance the timestamp by one second
      // with each read. Start with a block of "a" at the current timestamp `now`.
      TF_EXPECT_OK(ReadCache(&cache, "a", 0, 1, &out));
    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)
  4. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    EOF
    
      # Get the full list of files and targets which get included into the pip
      # package
      bazel query --keep_going 'deps(//tensorflow/tools/pip_package:build_pip_package)' | sort -u > $BATS_TEST_TMPDIR/pip_deps
      # Find all Python py_test targets not tagged "no_pip" or "manual", excluding
      # any targets in ignored packages. Combine this list of targets into a bazel
      # query list (e.g. the list becomes "target+target2+target3")
    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)
  5. CONTRIBUTING.md

        initiates CI/CD tests.
    -   We can't move forward if these tests fail.
    -   In such situations, we may request you to make further changes to your PR
        for the tests to pass.
    -   Once the tests pass, we now bring all the code into the internal code base,
        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
    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)
  6. tensorflow/c/eager/c_api_experimental.h

    // Disables only graph collection in RunMetadata on the functions executed from
    // this context.
    TF_CAPI_EXPORT extern void TFE_ContextDisableGraphCollection(TFE_Context* ctx);
    
    // TODO(fishx): Move these monitoring APIs into a separate file.
    // -----------------------------------------------------------------------------
    // Monitoring Counter APIs.
    // These APIs de-templated monitoring Counter for swig.
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_context.h

      // code that is layered on top of the runtime.
      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;
    
    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/filesystem/plugins/gcs/ram_file_block_cache.h

          // Destroying pruning_thread_ will block until Prune() receives the above
          // notification and returns.
          pruning_thread_.reset();
        }
      }
    
      /// Read `n` bytes from `filename` starting at `offset` into `buffer`. It
      /// returns total bytes read ( -1 in case of errors ). This method will set
      /// `status` to:
      ///
      /// 1) The error from the remote filesystem, if the read from the remote
      ///    filesystem failed.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental_graph.cc

    auto& kUnknownDim = shape_inference::InferenceContext::kUnknownDim;
    auto& kUnknownRank = shape_inference::InferenceContext::kUnknownRank;
    
    // GraphTensor wraps a `TF_Output`, i.e. a pointer to TF_Operation and the index
    // into the list of outputs for the operation.
    class GraphTensor : public TracingTensorHandle {
     public:
      explicit GraphTensor(TF_Output output, TF_Graph* graph)
          : TracingTensorHandle(kGraph), output_(output), graph_(graph) {}
    
    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)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          return;
        }
      }
      TF_VLog(3, "GcsWritableFile: %s with existing file %s", path,
              temp_file_name.c_str());
      TF_SetStatus(status, TF_OK, "");
    }
    
    // TODO(vnvo2409): We could download into a local temporary file and use
    // memory-mapping.
    void NewReadOnlyMemoryRegionFromFile(const TF_Filesystem* filesystem,
                                         const char* path,
    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)
Back to top