Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for count (0.13 sec)

  1. tensorflow/c/c_api.cc

        if (edge->src_output() == oper_out.index) {
          if (count < max_consumers) {
            consumers[count] = {ToOperation(edge->dst()), edge->dst_input()};
          }
          ++count;
        }
      }
      return count;
    }
    
    int TF_OperationNumControlInputs(TF_Operation* oper) {
      int count = 0;
      for (const auto* edge : oper->node.in_edges()) {
        if (edge->IsControlEdge() && !edge->src()->IsSource()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tape.h

              }
            }
          }
          auto usage_count_it = state.tensor_usage_counts.find(id);
          if (usage_count_it == state.tensor_usage_counts.end()) {
            VLOG(1) << "Tensor " << id << " not used";
            continue;
          }
          usage_count_it->second--;
          if (usage_count_it->second > 0) {
            VLOG(1) << "Tensor " << id << " usage count " << usage_count_it->second;
            continue;
          }
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  3. ci/official/libtensorflow.sh

    # limitations under the License.
    # ==============================================================================
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    # Record GPU count and CUDA version status
    if [[ "$TFCI_NVIDIA_SMI_ENABLE" == 1 ]]; then
      tfrun nvidia-smi
    fi
    
    # Update the version numbers for Nightly only
    if [[ "$TFCI_NIGHTLY_UPDATE_VERSION_ENABLE" == 1 ]]; then
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 19 19:07:48 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. ci/official/wheel.sh

    # limitations under the License.
    # ==============================================================================
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    # Record GPU count and CUDA version status
    if [[ "$TFCI_NVIDIA_SMI_ENABLE" == 1 ]]; then
      tfrun nvidia-smi
    fi
    
    # Update the version numbers for Nightly only
    if [[ "$TFCI_NIGHTLY_UPDATE_VERSION_ENABLE" == 1 ]]; then
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. tensorflow/build_cleaner_spec.textproto

    # proto-message: ActionSpecs
    
    # Python rules should not have more than one source file.
    action_spec {
      action: CHECK_FILE_COUNT
      file_count_params {
        rule_selector {
          rule_kind_regex: "^.*py(type)?(_strict)?_(binary|library|test).*$"
          generator_function_regex: "^(?!boq_header)$"
        }
        max_source_count: 1
      }
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 29 18:16:42 GMT 2023
    - 387 bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental.cc

                                                               int bucket_count) {
      return new TFE_MonitoringBuckets([scale, growth_factor, bucket_count]() {
        return tensorflow::monitoring::Buckets::Exponential(scale, growth_factor,
                                                            bucket_count);
      });
    }
    
    void TFE_MonitoringDeleteBuckets(TFE_MonitoringBuckets* buckets) {
      delete buckets;
    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)
  7. tensorflow/c/eager/c_api_unified_experimental.cc

      return *factories;
    }
    
    static tracing::FactoryFunction default_factory;
    
    void RegisterTracingEngineFactory(const string& name, FactoryFunction factory) {
      assert((!GetFactories().count(name)) ||
             (GetFactories()[name] == factory) &&
                 "Duplicate tracing factory registration");
      GetFactories()[name] = factory;
    }
    
    Status SetDefaultTracingEngine(const char* name) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                       TF_Message(status));
        }
    
        if (device_index == 0) {
          first_op_output_count = per_device_output_tensors.rbegin()->size();
        } else {
          if (first_bad_status == nullptr &&
              per_device_output_tensors.rbegin()->size() != first_op_output_count) {
            first_bad_status.reset(TF_NewStatus());
            TF_SetStatus(first_bad_status.get(), TF_INTERNAL,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  9. configure.py

      # ROCm / CUDA are mutually exclusive.
      # At most 1 GPU platform can be configured.
      gpu_platform_count = 0
      if environ_cp.get('TF_NEED_ROCM') == '1':
        gpu_platform_count += 1
      if environ_cp.get('TF_NEED_CUDA') == '1':
        gpu_platform_count += 1
      if gpu_platform_count >= 2:
        raise UserInputError('CUDA / ROCm are mututally exclusive. '
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  10. tensorflow/c/eager/c_api_experimental.h

    typedef struct TFE_MonitoringBuckets TFE_MonitoringBuckets;
    TF_CAPI_EXPORT extern TFE_MonitoringBuckets*
    TFE_MonitoringNewExponentialBuckets(double scale, double growth_factor,
                                        int bucket_count);
    TF_CAPI_EXPORT extern void TFE_MonitoringDeleteBuckets(
        TFE_MonitoringBuckets* buckets);
    
    // APIs for Sampler without label.
    typedef struct TFE_MonitoringSampler0 TFE_MonitoringSampler0;
    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)
Back to top