- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 263 for created (0.11 sec)
-
tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc
auto* ctx = func.getContext(); patterns.add<PushDownDequantize>(ctx); if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) { signalPassFailure(); } } } // namespace // Creates an instance of the TensorFlow Lite optimize op order pass. std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizeOpOrderPass() { return std::make_unique<OptimizeOpOrderPass>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc
common_error_message_.clear(); error_collector_->Clear(); } void ErrorCollectorInstrumentation::runAfterPassFailed(Pass *pass, Operation *module) { // Create a new error if no errors collected yet. if (error_collector_->CollectedErrors().empty() && !common_error_message_.empty()) { error_collector_->ReportError(NewConverterErrorData(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/localize_var_handles.cc
// the resource, and we use it to just look up. // See core/kernels/data/iterator_ops.cc.) resource_op = builder.create<TF::IteratorOp>( op->getLoc(), resource.getType(), shared_name, container, it.getOutputTypes(), it.getOutputShapes()); } else { resource_op = builder.create<TF::VarHandleOp>( op->getLoc(), resource.getType(), container, shared_name); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 23:53:00 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc
builder.setInsertionPoint(op); for (auto& op_operand : op->getOpOperands()) { if (IsLargeFloatType(op_operand.get().getType())) { op_operand.set(builder.create<TF::CastOp>( op->getLoc(), ToBfloat16Type(op_operand.get().getType()), op_operand.get())); } } builder.setInsertionPointAfter(op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 08:32:43 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc
patterns->add<odml::ConvertCustomCallOp>(context); populateWithGenerated(*patterns); patterns->add<ConvertReduceOpToTFLiteArgmin, ConvertReduceOpToTFLiteArgmax>( context); } // Creates an instance of the pass. std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeHloToTfLitePass() { return std::make_unique<LegalizeHloToTfLitePass>(); } // Registers the pass implementation
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/converter_gen.cc
assert(op_name.starts_with("TFL_") && "unexpected op prefix"); assert(op_name.ends_with("Op") && "unexpected op suffix"); // E.g., AddOp -> CreateAddOperator std::ostringstream oss; oss << "Create" << op_name.drop_front(4).str() << "erator"; return oss.str(); } static inline bool IsLstmOp(const StringRef op_name) { return op_name.take_back(6) == "LSTMOp"; } static int HasOptions(const Record &def) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 15:05:28 UTC 2023 - 23.7K bytes - Viewed (0) -
tensorflow/c/kernels/histogram_summary_op.cc
#include "tensorflow/core/platform/macros.h" #include "tensorflow/core/platform/protobuf.h" #include "tensorflow/core/platform/tstring.h" #include "tensorflow/core/platform/types.h" namespace { // Operators used to create a std::unique_ptr for TF_Tensor and TF_Status. struct TFTensorDeleter { void operator()(TF_Tensor* tf_tensor) const { TF_DeleteTensor(tf_tensor); } }; struct TFStatusDeleter {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc
builder.setInsertionPoint(composite); if (IsKVCacheCompositeOp(composite)) { return builder.create<TFL::CustomOp>( composite->getLoc(), composite->getResultTypes(), composite->getOperands().slice(2, 3), composite.getName(), CustomOption(&builder, custom_option_buffer)); } return builder.create<TFL::CustomOp>( composite->getLoc(), composite->getResultTypes(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
return rewriter.notifyMatchFailure( contraction, "fused operation must be nested inside a function, If or While"); } // If the contraction is used in multiple places, fusing it will only create // more contraction nodes, which is slower. if (!contraction.getResult().hasOneUse()) return rewriter.notifyMatchFailure(contraction, "result is used by multiple ops");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
data_types, outside_compilation_nodes, g, n); return absl::OkStatus(); } // Creates a mapping from outside compilation cluster name to lifted argument // placeholder. absl::StatusOr<std::unordered_map<string, Node*>> OutsideCompilationAttrToNode( const Graph& g) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0)