Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for ic_stats (0.15 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor.cc

        stats.num_allocs = c_stats.num_allocs;
        stats.bytes_in_use = c_stats.bytes_in_use;
        stats.peak_bytes_in_use = c_stats.peak_bytes_in_use;
        stats.largest_alloc_size = c_stats.largest_alloc_size;
        if (c_stats.has_bytes_limit) {
          stats.bytes_limit = c_stats.bytes_limit;
        }
        stats.bytes_reserved = c_stats.bytes_reserved;
        stats.peak_bytes_reserved = c_stats.peak_bytes_reserved;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_device_context.cc

      std::optional<stream_executor::AllocatorStats> se_stats =
          stream_executor_->GetAllocatorStats();
      if (!se_stats) {
        return std::nullopt;
      }
    
      tensorflow::AllocatorStats tf_stats;
      tf_stats.num_allocs = se_stats->num_allocs;
      tf_stats.bytes_in_use = se_stats->bytes_in_use;
      tf_stats.peak_bytes_in_use = se_stats->peak_bytes_in_use;
      tf_stats.largest_alloc_size = se_stats->largest_alloc_size;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cri_stats_provider_windows.go

    	result.InterfaceStats = iStat
    
    	return result
    }
    
    func hcsStatToInterfaceStat(hcsStats *hcsshim.HNSEndpointStats, endpointName string) statsapi.InterfaceStats {
    	iStat := statsapi.InterfaceStats{
    		Name:    endpointName,
    		RxBytes: &hcsStats.BytesReceived,
    		TxBytes: &hcsStats.BytesSent,
    	}
    	return iStat
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

      int VisibleDeviceCount() const override {
        int visible_device_count = 0;
        tensorflow::TF_StatusPtr c_status(TF_NewStatus());
        platform_fns_.get_device_count(&platform_, &visible_device_count,
                                       c_status.get());
        if (TF_GetCode(c_status.get()) != TF_OK) {
          LOG(ERROR) << TF_Message(c_status.get());
          return 0;
        }
        return visible_device_count;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. tensorflow/c/env.cc

                     TF_Status* status) {
      ::tensorflow::FileStatistics cc_stats;
      TF_SetStatus(status, TF_OK, "");
      ::tensorflow::Status s =
          ::tensorflow::Env::Default()->Stat(filename, &cc_stats);
      ::tensorflow::Set_TF_Status_from_Status(status, s);
      if (s.ok()) {
        stats->length = cc_stats.length;
        stats->mtime_nsec = cc_stats.mtime_nsec;
        stats->is_directory = cc_stats.is_directory;
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/next_pluggable_device/c_api.cc

        status->status = cc_status;
        return;
      }
      if (var_info->var_info.var() == nullptr) {
        cc_status = absl::InvalidArgumentError(
            "VariableInfo does not track a resource variable.");
        status->status = cc_status;
        return;
      }
    
      cc_status = cc_ctx->allocate_temp(var_info->var_info.var()->tensor()->dtype(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 05:48:24 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. tensorflow/c/tf_status_helper.h

    }  // namespace tensorflow
    
    #define TF_STATUS_ASSIGN_OR_RETURN(lhs, rexpr, c_status) \
      _TF_STATUS_ASSIGN_OR_RETURN_IMPL(                      \
          _TF_STATUS_CONCAT(_status_or_value, __COUNTER__), lhs, rexpr, c_status);
    
    #define _TF_STATUS_ASSIGN_OR_RETURN_IMPL(statusor, lhs, rexpr, c_status) \
      auto statusor = (rexpr);                                               \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. tensorflow/c/tf_status_helper_test.cc

    namespace tsl {
    namespace {
    
    TEST(StatusHelper, TestStatusHelper) {
      TSL_Status* s = TSL_NewStatus();
      absl::Status cc_status(absl::InvalidArgumentError("some error"));
      cc_status.SetPayload("key1", absl::Cord("value1"));
      cc_status.SetPayload("key2", absl::Cord("value2"));
      Set_TF_Status_from_Status(s, cc_status);
      ASSERT_EQ(TSL_INVALID_ARGUMENT, TSL_GetCode(s));
      ASSERT_EQ(std::string("some error"), TSL_Message(s));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. tensorflow/c/c_op_requires.h

    #define C_OPKERNELCONTEXT_REQUIRES_OK(CTX, C_STATUS, __VA_ARGS__) \
      do {                                                            \
        ::tensorflow::Status _s(__VA_ARGS__);                         \
        if (!TF_PREDICT_TRUE(_s.ok())) {                              \
          ::tensorflow::Set_TF_Status_from_Status(C_STATUS, _s);      \
          TF_OpKernelContext_Failure(CTX, C_STATUS);                  \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 02 21:35:06 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. cmd/admin-server-info.go

    		gcStats.PauseEnd = gcStats.PauseEnd[len(gcStats.PauseEnd)-5:]
    	}
    	if len(gcStats.Pause) > 5 {
    		gcStats.Pause = gcStats.Pause[len(gcStats.Pause)-5:]
    	}
    
    	props := madmin.ServerProperties{
    		Endpoint: addr,
    		Uptime:   UTCNow().Unix() - globalBootTime.Unix(),
    		Version:  Version,
    		CommitID: CommitID,
    		Network:  network,
    		MemStats: madmin.MemStats{
    			Alloc:      memstats.Alloc,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top