- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 170 for Fsetxattr (0.16 sec)
-
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
values.push_back(range.second - range.first); } auto attr_value = mlir::DenseI32ArrayAttr::get(tf_op->getContext(), values); tf_op->setAttr(attr_name, attr_value); }; if (tf_op->hasTrait<mlir::OpTrait::AttrSizedOperandSegments>() || tf_op->hasTrait<mlir::OpTrait::AttrSizedResultSegments>()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/parallel_execute_to_islands.cc
group_annotation = absl::StrCat(parallel_group_attr.getValue().str(), ",", group_annotation); } for (auto& op : execute_island.GetBody()) { op.setAttr(TF::kParallelExecAnnotation, builder->getStringAttr(group_annotation)); } } executes.push_back(execute_island); } } void CreateIslandsFromParallelExecute(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 19 19:47:16 UTC 2023 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc
new_float_func.setType(FunctionType::get( getContext(), TypeRange{ValueRange{new_float_func_args}}, new_float_func.getResultTypes())); symbol_table.insert(new_float_func); op->setAttr("f", SymbolRefAttr::get(rewriter.getContext(), new_float_func.getName())); return success(); } LogicalResult matchAndRewrite(TF::PartitionedCallOp op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
/*type=*/mlir::TypeAttr::get(value_attr.getType()), /*is_mutable=*/nullptr); op->setAttr( kTfSavedModelExportedNamesAttr, builder.getStrArrayAttr(object_names.GetExportedNames(node_id))); } } AdjustBoundInputArgTypes(module); module->setAttr("tf_saved_model.semantics", builder.getUnitAttr()); SortSavedModelModule(module);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/mlir_graph_optimization_pass_test.cc
auto min_consumer = b.getNamedAttr("min_consumer", b.getI32IntegerAttr(0)); auto bad_consumers = b.getNamedAttr("bad_consumers", b.getI32ArrayAttr({1, 2, 3, 4})); module->setAttr("tf.versions", b.getDictionaryAttr(llvm::ArrayRef<mlir::NamedAttribute>( {producer, min_consumer, bad_consumers}))); return run_status_; } Status run_status_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 08:25:30 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc
continue; } auto new_attr = mlir::DenseElementsAttr::get( llvm::cast<mlir::ShapedType>(attr.getType()), rand_val); inst.setAttr(attr_id, new_attr); } } } } return module_or; } absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> GraphdefToSplattedMlirTranslateFunction(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 11:51:44 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
} rewriter.setInsertionPoint(quantizing_op); Operation* float_op = rewriter.clone(*quantizing_op); quantizing_op->setAttr(kDebugModeOpQuantAttrName, rewriter.getUnitAttr()); float_op->setAttr(kDebugModeOpFloatAttrName, rewriter.getUnitAttr()); RewireFloatModelBackbone(quantizing_op, float_op); return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc
llvm::SmallVector<mlir::Type, 4> output_types(num_split, output_type); *split_op = builder->create<mlir::TF::SplitOp>( location, output_types, split_dimension_op.getOutput(), src_input); (*split_op)->setAttr( kNumSplitAttr, builder->getIntegerAttr(builder->getIntegerType(32), num_split)); return mlir::success(); } // Creates a tf::ConcatOp that merges `input` values in `concat_dimension`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
Operation* parent_op = op->getParentOp(); if (!parent_op) return false; return HasOutsideCompilationAncestor(parent_op); } Operation* ApplyXlaHostTransferAttr(Operation* op, OpBuilder& builder) { op->setAttr("_xla_has_host_transfer", builder.getBoolAttr(true)); return op; } // Creates a tf._XlaSendFromHost or tf._XlaSendFromHostV2 op. If device ordinal // is present, a tf._XlaSendFromHostV2 op is created instead.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc
op->replaceAllUsesWith(flex_op); op->erase(); return true; } // Sets the "no_fallback" attribute. Value SetNoFallbackAttr(PatternRewriter &rewriter, Value val) { val.getDefiningOp()->setAttr(kNoFallbackAttr, rewriter.getUnitAttr()); return val; } // Returns true if the attr is a float attribute and be equal to value. static bool FloatValueEquals(const Attribute &attr, double value) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.2K bytes - Viewed (0)