Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 463 for int64Ptr (0.18 sec)

  1. tensorflow/c/eager/tfe_monitoring_reader_internal.h

      explicit TFE_MonitoringCounterReader(const char* name) {
        counter = std::make_unique<
            ::tensorflow::monitoring::testing::CellReader<int64_t>>(name);
      }
      template <typename... LabelType>
      int64_t Read(const LabelType&... labels);
      std::unique_ptr<::tensorflow::monitoring::testing::CellReader<int64_t>>
          counter;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 20 03:14:47 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compilation_profiler.h

      struct ClusterCompileStats {
        // Number of times the cluster has been (re-)compiled.
        int64_t compile_count = 0;
    
        // The number of times this cluster has been executed.
        int64_t execution_count = 0;
    
        // Cumulative time spent compiling the cluster.
        int64_t cumulative_compile_time_us = 0;
    
        // True if we have decided that this cluster is too dynamic (i.e. its shapes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.cc

        const DenseIntElementsAttr& dense_attr, PatternRewriter& builder) {
      std::vector<int32_t> ret(dense_attr.getNumElements());
      auto range = dense_attr.getValues<int64_t>();
      std::transform(range.begin(), range.end(), ret.begin(),
                     [](int64_t attr) { return static_cast<int32_t>(attr); });
      return DenseIntElementsAttr::get(
          RankedTensorType::get(ret.size(), builder.getIntegerType(32)), ret);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 18:33:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // nullptr will be returned.
    TF_CAPI_EXPORT extern TF_Buffer* TF_CoordinationServiceGetKeyValue(
        const char* key, int64_t key_size, TF_CoordinationServiceAgent* agent,
        TF_Status* status);
    
    TF_CAPI_EXPORT extern TF_Buffer* TF_CoordinationServiceGetKeyValueWithTimeout(
        const char* key, int64_t key_size, int64_t timeout_seconds,
        TF_CoordinationServiceAgent* agent, TF_Status* status);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 20:01:06 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.h

        AnalyzeArguments(func_op);
        AnalyzeBlock(&func_op.front());
      }
    
      int64_t GetCost(mlir::Operation* op) const;
    
     private:
      void AnalyzeArguments(mlir::func::FuncOp func_op);
      void AnalyzeBlock(mlir::Block* block);
      void EvaluateCost(mlir::Operation* op);
    
      int64_t max_arg_size_ = 1;
      llvm::DenseMap<mlir::Operation*, int64_t> cost_map_;
      const tfrt_stub::CostRecorder* cost_recorder_;
    };
    
    struct CostContext {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/mlir_graph_optimization_pass_test.cc

      monitoring::testing::CellReader<int64_t> mlir_function_pass_fallback_count_ =
          monitoring::testing::CellReader<int64_t>(
              /* metric name */
              "/tensorflow/core/mlir_function_pass_fallback_count");
      monitoring::testing::CellReader<int64_t>
          mlir_graph_optimization_pass_fallback_count_ =
              monitoring::testing::CellReader<int64_t>(
                  /* metric name */
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 08:25:30 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/aot/benchmark.h

      static constexpr int64_t kDefaultMicros = 3000000;
    
      int64_t max_iters = 0;   // Maximum iterations to run, ignored if <= 0.
      int64_t max_micros = 0;  // Maximum microseconds to run, ignored if <= 0.
    };
    
    // Stats holds statistics collected during benchmarking.
    struct Stats {
      std::vector<int64_t> per_iter_us;  // Per-iteration deltas in us.
      int64_t total_us;                  // Total time in us.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        SmallVector<int64_t> start_indices(input_rank, 0);
        SmallVector<int64_t> slice_sizes = reshaped_permuted_shape;
        SmallVector<int64_t> strides(input_rank, 1);
        auto crop_values = llvm::to_vector<4>(crops.getValues<APInt>());
        for (int i = 0; i < block_rank; ++i) {
          int64_t crop_start = crop_values[i * 2].getSExtValue();
          int64_t crop_end = crop_values[i * 2 + 1].getSExtValue();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_compilation_profiler.cc

    #include "tensorflow/core/platform/status.h"
    #include "tsl/platform/mutex.h"
    
    namespace tensorflow {
    namespace {
    bool ShouldBeMegamorphic(int64_t compile_count, int64_t execution_count) {
      const int64_t kCompileThreshold = 10;
      const int64_t kMinExecutionsPerCompile = 50;
    
      // This heuristic is trying to capture the following property: have we sunk a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/lstm_utils.h

      Value output_layer_norm_coefficients_;
    
      mlir::TFL::LSTMOp lstm_;
    
      Value none_;
      SmallVector<int64_t, 1> bias_slice_shape_;
      SmallVector<int64_t, 1> bias_size_values_;
      SmallVector<int64_t, 2> weight_slice_shape_;
      SmallVector<int64_t, 2> weight_slice_size_input_values_;
      SmallVector<int64_t, 2> weight_slice_size_recurrent_values_;
      OpBuilder builder_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top