- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for tf_dialect_ (0.13 sec)
-
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
graph_(graph), tf_dialect_(tf_dialect), symbol_table_(*symbol_table) { graph_->ToGraphDef(&graphdef_); } Status AddArgumentNode(BlockArgument arg, unsigned index, llvm::StringRef name); Status AddFetchNode(FuncOp function, mlir::tf_executor::FetchOp fetch, llvm::ArrayRef<llvm::StringRef> names); Status AddInstructionNode(Operation* inst);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
graph_(graph), tf_dialect_(tf_dialect), symbol_table_(*symbol_table) { graph_->ToGraphDef(&graphdef_); } Status AddArgumentNode(BlockArgument arg, unsigned index, llvm::StringRef name); Status AddFetchNode(FuncOp function, mlir::tf_executor::FetchOp fetch, llvm::ArrayRef<llvm::StringRef> names); Status AddInstructionNode(Operation* inst);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
// operation of which use is an operand allows for shape refinement without // a cast. bool NeedsCastBack(OpOperand& use, Dialect* tf_dialect) { return use.getOwner()->getDialect() != tf_dialect && !IsSupportedNonTFOp(use.getOwner()); } TensorType CreateTensorType(std::optional<llvm::ArrayRef<int64_t>> shape, Type element_type) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
enabled_op_types_.emplace(OpType::kSelectTf); } if (toco_flags.allow_custom_ops()) { enabled_op_types_.emplace(OpType::kCustomOp); } tf_dialect_ = module.getContext()->getOrLoadDialect<mlir::TF::TensorFlowDialect>(); tfl_dialect_ = module.getContext() ->getOrLoadDialect<mlir::TFL::TensorFlowLiteDialect>(); vhlo_dialect_ =
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/lite/stablehlo/odml_converter/odml_converter_main.cc
#include "tensorflow/compiler/mlir/lite/stablehlo/odml_converter/passes.h" #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h" const char* art = R"( ___ ___ __ __ _ ___ _ / _ \| \| \/ | | / __|___ _ ___ _____ _ _| |_ ___ _ _ | (_) | |) | |\/| | |__ | (__/ _ \ ' \ V / -_) '_| _/ -_) '_|
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:05:30 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc
void LaunchToDeviceAttributePass::runOnOperation() { const Dialect* tf_dialect = getContext().getLoadedDialect("tf"); if (!tf_dialect) { getOperation().emitError() << "'tf' dialect is not registered"; return signalPassFailure(); } auto result = getOperation().walk([&tf_dialect](tf_device::LaunchOp launch) { if (failed(HoistOpsAndAnnotateWithDevice(tf_dialect, launch))) return WalkResult::interrupt();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc
} // Checks if the op is supported inside of a device cluster. Ops not // in `tf_dialect` are considered supported. bool IsSupportedOp(Operation& op, const llvm::DenseSet<OperationName>& supported_ops, const Dialect* tf_dialect) { if (op.getDialect() != tf_dialect) return true; // Assert has a legalization that later removes it so we don't want to outside
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc
populateWithGenerated(patterns); (void)applyPatternsAndFoldGreedily(func, std::move(patterns)); // Convert unsupported ops to Flex ops. auto tf_dialect = ctx->getLoadedDialect<TF::TensorFlowDialect>(); func.walk([&](Operation *op) { if (op->getDialect() != tf_dialect) return; if (IsAllowListedOp(op)) return; if (op->hasAttr(kNoFallbackAttr)) { op->removeAttr(kNoFallbackAttr); return; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/BUILD
"@llvm-project//mlir:SideEffectInterfacesTdFiles", ], ) cc_library( name = "tensorflow_attributes", hdrs = [ "ir/tf_attributes.h", "ir/tf_dialect.h", ], deps = [ ":tensorflow_types", "//tensorflow/core/ir/types:Dialect", "@llvm-project//llvm:Support", "@llvm-project//mlir:IR",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 47.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils_test.cc
#include "mlir/IR/OwningOpRef.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h" namespace mlir::quant { namespace { void PackOperandTestHelper( const llvm::SmallVector<int64_t>& unpacked_shape, const llvm::SmallVector<int8_t>& unpacked_values, int pack_dim,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.5K bytes - Viewed (0)