Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for cell (0.18 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
      auto* cell = TFE_MonitoringGetCellCounter0(counter);
      TFE_MonitoringCounterCellIncrementBy(cell, 1);
      EXPECT_EQ(TFE_MonitoringCounterCellValue(cell), 1);
      auto* collection_registry = monitoring::CollectionRegistry::Default();
      monitoring::CollectionRegistry::CollectMetricsOptions options;
    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)
  2. tensorflow/c/eager/c_api_experimental.cc

      return context->GetContextId();
    }
    
    void TFE_MonitoringCounterCellIncrementBy(TFE_MonitoringCounterCell* cell,
                                              int64_t value) {
      cell->cell.IncrementBy(value);
    }
    
    int64_t TFE_MonitoringCounterCellValue(TFE_MonitoringCounterCell* cell) {
      return cell->cell.value();
    }
    
    TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(const char* name,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  3. tensorflow/c/eager/c_api_experimental.h

    // Atomically increments the value of the cell. The value must be non-negative.
    TF_CAPI_EXPORT extern void TFE_MonitoringCounterCellIncrementBy(
        TFE_MonitoringCounterCell* cell, int64_t value);
    
    // Retrieves the current value of the cell.
    TF_CAPI_EXPORT extern int64_t TFE_MonitoringCounterCellValue(
        TFE_MonitoringCounterCell* cell);
    
    // APIs for Counter without label.
    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)
  4. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    //tensorflow/python/debug:grpc_tensorflow_server.par
    //tensorflow/python/feature_column:vocabulary_testdata
    //tensorflow/python/util:nest_test_main_lib
    //tensorflow/lite/experimental/examples/lstm:rnn_cell
    //tensorflow/lite/experimental/examples/lstm:rnn_cell.py
    //tensorflow/lite/experimental/examples/lstm:unidirectional_sequence_lstm_test
    //tensorflow/lite/experimental/examples/lstm:unidirectional_sequence_lstm_test.py
    //tensorflow/lite/python:interpreter
    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. ci/official/utilities/code_check_full.bats

    //tensorflow/python/debug:grpc_tensorflow_server.par
    //tensorflow/python/feature_column:vocabulary_testdata
    //tensorflow/python/util:nest_test_main_lib
    //tensorflow/lite/experimental/examples/lstm:rnn_cell
    //tensorflow/lite/experimental/examples/lstm:rnn_cell.py
    //tensorflow/lite/experimental/examples/lstm:unidirectional_sequence_lstm_test
    //tensorflow/lite/experimental/examples/lstm:unidirectional_sequence_lstm_test.py
    //tensorflow/lite/python:interpreter
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

          case FetchState::ERROR:
            // TF_FALLTHROUGH_INTENDED
          case FetchState::CREATED:
            block->state = FetchState::FETCHING;
            block->mu.Unlock();  // Release the lock while making the API call.
            block->data.clear();
            block->data.resize(block_size_, 0);
            int64_t bytes_transferred;
            bytes_transferred = block_fetcher_(key.first, key.second, 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)
  7. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      *result = filename_;
      return OkStatus();
    }
    
    Status ModularWritableFile::Tell(int64_t* position) {
      if (ops_->tell == nullptr)
        return errors::Unimplemented(
            tensorflow::strings::StrCat("Tell() not implemented for ", filename_));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      *position = ops_->tell(file_.get(), plugin_status.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)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // Execute the first read to load the block.
      TF_EXPECT_OK(ReadCache(&cache1, "", 0, 1, &out));
      EXPECT_EQ(calls, 1);
      // Now advance the clock one second at a time and redo the read. The call
      // count should advance every 3 seconds (i.e. every time the staleness is
      // greater than 2).
      for (int i = 1; i <= 10; i++) {
        env->SetNowSeconds(i + 1);
        TF_EXPECT_OK(ReadCache(&cache1, "", 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)
  9. tensorflow/c/eager/BUILD

            "tfe_monitoring_reader_internal.h",
        ],
        visibility = ["//tensorflow:internal"],
        deps = [
            ":c_api",
            "//tensorflow/c:c_api",
            "//tensorflow/core/lib/monitoring:cell_reader",
            "@com_google_absl//absl/memory",
        ],
        alwayslink = 1,
    )
    
    tf_cuda_cc_test(
        name = "c_api_experimental_test",
        size = "small",
        srcs = [
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.h

    // '*num_retvals' should be set to the size of this array. It is an error if
    // the size of 'retvals' is less than the number of outputs. This call sets
    // *num_retvals to the number of outputs.
    //
    // If async execution is enabled, the call may simply enqueue the execution
    // and return "non-ready" handles in `retvals`. Note that any handles contained
    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)
Back to top