Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,264 for const1 (0.1 sec)

  1. tensorflow/c/eager/c_api.cc

      }
    
      tensorflow::unwrap(op)->Release();
    }
    
    const char* TFE_OpGetName(const TFE_Op* op, TF_Status* status) {
      return tensorflow::unwrap(op)->Name().c_str();
    }
    
    TFE_Context* TFE_OpGetContext(const TFE_Op* op, TF_Status* status) {
      return tensorflow::wrap(tensorflow::unwrap(op)->GetContext());
    }
    
    void TFE_OpSetDevice(TFE_Op* op, const char* device_name, TF_Status* status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/codegen.cc

            result_data({{I}}))){{INDICES}};
      }
      const {{TYPE}}* result{{NAME}}_data() const {
        return static_cast<const {{TYPE}}*>(result_data({{I}}));
      }
      const {{TYPE}}& result{{NAME}}({{DIM_VARS}}) const {
        return (*static_cast<const {{TYPE}}(*){{DIM_SIZES}}>(
            result_data({{I}}))){{INDICES}};
      }
      int result{{NAME}}_size() const {
        return {{COUNT}} * sizeof({{TYPE}});
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    typedef struct PosixMemoryRegion {
      const void* const address;
      const uint64_t length;
    } PosixMemoryRegion;
    
    static void Cleanup(TF_ReadOnlyMemoryRegion* region) {
      auto r = static_cast<PosixMemoryRegion*>(region->plugin_memory_region);
      munmap(const_cast<void*>(r->address), r->length);
      delete r;
    }
    
    static const void* Data(const TF_ReadOnlyMemoryRegion* region) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

    }
    
    void ApplyQuantizationParamsPropagation(
        const func::FuncOp func, const bool is_signed, const int bit_width,
        const bool disable_per_channel,
        const OpQuantSpecGetter op_quant_spec_getter,
        const OpQuantScaleSpecGetter op_quant_scale_spec_getter,
        const bool infer_tensor_ranges, const bool legacy_float_scale,
        const bool is_qdq_conversion) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.h

                                      const char* label1, const char* label2);
    
    // APIs for String Gauge with 3 labels.
    typedef struct TFE_MonitoringStringGauge3 TFE_MonitoringStringGauge3;
    TF_CAPI_EXPORT extern TFE_MonitoringStringGauge3* TFE_MonitoringNewStringGauge3(
        const char* name, TF_Status* out_status, const char* description,
        const char* label1, const char* label2, const char* label3);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.cc

      const std::vector<std::string> custom_nodes = absl::StrSplit(node_names, ',');
    
      for (const std::string& cur_node : custom_nodes) {
        const std::vector<std::string> node_infos = absl::StrSplit(cur_node, '=');
        const std::string& node_name = node_infos[0];
        const std::string& node_specification = node_infos[1];
        CustomOpInfo new_node_info;
        switch (update_option) {
          case CustomOpUpdateOptions::kInputIndices: {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/clone_constants_for_better_clustering.cc

        const absl::flat_hash_set<string>& name_set, Node* n) {
      std::vector<const Edge*> in_edges;
      // Get the edges and sort them so we clone in a deterministic order.
      absl::c_copy(n->in_edges(), std::back_inserter(in_edges));
      absl::c_stable_sort(in_edges, [](const Edge* e1, const Edge* e2) {
        return e1->id() < e2->id();
      });
      for (const Edge* e : in_edges) {
        Node* input = e->src();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

                            const bool enable_per_channel_quantized_weight) {
      const GemmStyleOp gemm_style_op =
          *entry_func_op.getOps<GemmStyleOp>().begin();
    
      const Type input_type = entry_func_op.getArgumentTypes()[0];
      const Type filter_type = entry_func_op.getArgumentTypes()[1];
      const Type func_result_type = entry_func_op.getResultTypes()[0];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

      // respectively.
      const APFloat scale_;
      const APFloat zero_point_;
      const APFloat clamp_min_;
      const APFloat clamp_max_;
    
      const double scale_double_;
      const double zero_point_double_;
      const double clamp_min_double_;
      const double clamp_max_double_;
    
      const uint32_t storage_bit_width_;
      const bool is_signed_;
      const llvm::APFloat::roundingMode round_mode_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

        return input_mappings;
      }
    
      for (const auto& arg_and_idx : llvm::enumerate(metadata.args())) {
        const auto& sharding = arg_and_idx.value().sharding();
        const int64_t idx = arg_and_idx.index();
    
        const auto sharding_type = sharding.type();
        if (sharding_type == xla::OpSharding::OTHER) {
          for (const auto& device : sharding.tile_assignment_devices()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top