Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for reorder (0.18 sec)

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

      for (const auto& status : statuses)
        EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
    }
    
    TEST_P(ModularFileSystemTest, TestFilesExistAllFailureModes) {
      // if reordering these, make sure to reorder checks at the end
      const std::vector<std::string> filenames = {
          GetURIForPath("a_dir"),
          GetURIForPath("a_file"),
          GetURIForPath("a_file/a_new_file"),
          GetURIForPath("file_not_found"),
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. CODE_OF_CONDUCT.md

    
    ## Attribution
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/tfe_monitoring_reader_internal.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EAGER_TFE_MONITORING_READER_INTERNAL_H_
    #define TENSORFLOW_C_EAGER_TFE_MONITORING_READER_INTERNAL_H_
    
    #include <memory>
    
    #include "tensorflow/core/lib/monitoring/cell_reader.h"
    
    struct TFE_MonitoringCounterReader {
      explicit TFE_MonitoringCounterReader(const char* name) {
        counter = std::make_unique<
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental_reader_test.cc

      auto* reader = TFE_MonitoringNewCounterReader(counter_name);
      IncrementCounter0(counter);
    
      int64_t actual = TFE_MonitoringReadCounter0(reader);
    
      CHECK_EQ(actual, 1);
    }
    
    TEST(CAPI, MonitoringCellReader1) {
      auto counter_name = "test/counter1";
      auto label_name = "test/label";
      auto* counter = CreateCounter1(counter_name, label_name);
      auto* reader = TFE_MonitoringNewCounterReader(counter_name);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  5. tensorflow/c/checkpoint_reader.cc

      v2_reader_->Seek(kHeaderEntryKey);
      for (v2_reader_->Next(); v2_reader_->Valid(); v2_reader_->Next()) {
        if (filtered_keys.count(string(v2_reader_->key())) > 0) continue;
        CHECK(entry.ParseFromArray(v2_reader_->value().data(),
                                   v2_reader_->value().size()))
            << entry.InitializationErrorString();
        string key(v2_reader_->key());
    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)
  6. tensorflow/c/checkpoint_reader.h

     private:
      // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
      // maps; both owned by caller.
      // REQUIRES: "v2_reader_ != nullptr && v2_reader_.status().ok()".
      std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
                std::unique_ptr<TensorSliceReader::VarToDataTypeMap> >
      BuildV2VarMaps();
    
      // Invariant: exactly one of "reader_" and "v2_reader_" is non-null.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental_reader.h

    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EAGER_C_API_EXPERIMENTAL_READER_H_
    #define TENSORFLOW_C_EAGER_C_API_EXPERIMENTAL_READER_H_
    
    #include "tensorflow/c/eager/c_api.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // Test only exports of the monitoring Cell Reader API which allows tests to
    // read current values from streamz counters defined in other modules.
    //
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      if (TF_GetCode(status) != TF_OK)
        return ::testing::AssertionFailure() << TF_Message(status);
    
      auto reader = gcs_client->ReadObject(bucket, object);
      if (!reader) {
        return ::testing::AssertionFailure() << reader.status().message();
      } else {
        std::string content{std::istreambuf_iterator<char>{reader}, {}};
        return CompareSubString(offset, length, content, content.length());
      }
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.h

    // order, and type) the op declaration.  For example, the "Concat" op
    // has registration:
    //   REGISTER_OP("Concat")
    //       .Input("concat_dim: int32")
    //       .Input("values: N * T")
    //       .Output("output: T")
    //       .Attr("N: int >= 2")
    //       .Attr("T: type");
    // that defines two inputs, "concat_dim" and "values" (in that order).
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  10. tensorflow/c/eager/tape.h

                  "Internal state of the gradient tape is invalid: "
                  "none of operations outputs match expected tensor");
            }
          } else {
            // This target tensor was not generated by any operation recorded on
            // the tape, so no gradient needs to be computed from it unless this
            // target is also a source.
            auto source_tensor = sources_that_are_targets.find(id);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
Back to top