Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetResourceId (0.22 sec)

  1. tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc

          builder.setInsertionPointAfter(read_variable_op);
          auto new_read_variable_op =
              builder.create<ReadVariableOp>(read_variable_op.getLoc(), ref_qtype,
                                             read_variable_op.getResourceId());
          auto new_dq_op = builder.create<DequantizeOp>(
              read_variable_op.getLoc(), read_variable_op.getResult().getType(),
              new_read_variable_op.getResult());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

      bool IsWrite() const { return effects_.test(kWrite); }
      bool IsAllocOnly() const { return IsAlloc() && effects_.count() == 1; }
      bool IsReadOnly() const { return IsRead() && effects_.count() == 1; }
      ResourceId GetResourceId() const { return resource_id_; }
    
      void SetAlloc() { effects_.set(kAlloc); }
      void SetFree() { effects_.set(kFree); }
      void SetRead() { effects_.set(kRead); }
      void SetWrite() { effects_.set(kWrite); }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

                  mem_interface.getEffectOnValue<MemoryEffects::Allocate>(value);
              if (alloc_effect) {
                TypeID mlir_type_id =
                    alloc_effect.value().getResource()->getResourceID();
                // Update or lookup internal type ID.
                auto emplace_result = type_id_to_internal_type_id_.try_emplace(
                    mlir_type_id, next_unique_type_id);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top