- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 51 for tcgetattr (0.68 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
ModuleOp module_op = op->getParentOfType<ModuleOp>(); // Ignore ops without quantization method. // Consider adding checks for individual methods. if (!op->getAttr(kQuantizationMethodAttr)) return failure(); // Ignore unquantized ops. if (!IsQuantizedXlaCallModuleOp(op)) return failure(); // For weight-only quantization, op should be hybrid quantized.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
} // Recreate the attributes dictionary to only contain "value". NamedAttrList attributes; attributes.append(NamedAttribute(value_str_attr, cst->getAttr("value"))); cst->setAttrs(attributes.getDictionary(&getContext())); }); auto& side_effect_analysis = getAnalysis<mlir::TF::SideEffectAnalysis>(); for (auto func : getOperation().getOps<mlir::func::FuncOp>())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
for (const auto& attr_name : attr_names) { if (!global_iter_id_op->hasAttr(attr_name)) continue; offset->setAttr(attr_name, global_iter_id_op->getAttr(attr_name)); new_global_iter_id->setAttr(attr_name, global_iter_id_op->getAttr(attr_name)); } // Make the next function to get inlined use a different offset. ++offset_value; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
fastapi/routing.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 170.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
if (padding == tensorflow::Padding::EXPLICIT) { ArrayRef<Attribute> explicit_padding; ArrayAttr explicit_pad = mlir::dyn_cast_or_null<::mlir::ArrayAttr>( op->getAttr("explicit_paddings")); if (!explicit_pad) { explicit_pad = ::mlir::Builder(op->getContext()).getI64ArrayAttr({}); } explicit_padding = explicit_pad.getValue();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
llvm::all_of(op->getResultTypes(), is_not_variant); }; auto is_set_item_legal = [](Operation *op) { return op->hasAttr("resize_if_index_out_of_bounds") && op->getAttr("resize_if_index_out_of_bounds") .cast<mlir::BoolAttr>() .getValue(); }; ConversionTarget target(*context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
// folding), but we can still derive the shape of a constant tensor for // its attribute type. auto tensor_attr = mlir::cast<mlir::TypedAttr>(inst->getAttr("value")); llvm::ArrayRef<int64_t> shape_ref = mlir::cast<TensorType>(tensor_attr.getType()).getShape(); if (mlir::failed(check_shape(shape_ref))) return std::nullopt;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
template <typename CallOpClass> static LogicalResult VerifyPartitionedCall(CallOpClass op, SymbolTableCollection &symbolTable) { SymbolRefAttr func = op->getAttr("f").template cast<SymbolRefAttr>(); auto function = symbolTable.lookupNearestSymbolFrom<func::FuncOp>(op, func); if (!function) { return op.emitError("'f' attribute refers to an undefined function: ")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
// avoid compilation failure when exporting "layouts" attribute of the // corresponding InfeedDequeueTupleOp to a graph node. data_and_token->setAttr("layout", op->getAttr("layouts")); } llvm::SmallVector<Value> results; results.reserve(result_types.size()); for (const auto &idx_and_type : llvm::enumerate(result_types)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)