- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetResourceId (0.33 sec)
-
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) -
tensorflow/compiler/mlir/tensorflow/ir/tf_side_effects.h
// type). inline bool IsOnlySelfDependent(TypeID resource_type_id) { return resource_type_id == ResourceEffects::Send::getResourceID() || resource_type_id == ResourceEffects::Recv::getResourceID(); } } // namespace ResourceEffects } // namespace TF } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 26 18:45:40 UTC 2023 - 4.7K bytes - Viewed (0) -
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) -
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)