Home
last modified time | relevance | path

Searched refs:TensorFlowDialect (Results 1 – 25 of 31) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops.cc90 return TensorFlowDialect::constantFold(op, operands, results); in fold()
98 return TensorFlowDialect::decode(input, output); in decode()
137 return !wouldBeCloned || TensorFlowDialect::CanDuplicate(op); in isLegalToInline()
165 bool TensorFlowDialect::CanDuplicate(Operation *op) { in CanDuplicate()
184 bool TensorFlowDialect::CanHaveSideEffects(Operation *op) { in CanHaveSideEffects()
200 std::vector<TensorFlowDialect::AdditionalOpFunction>
201 *TensorFlowDialect::GetAdditionalOperationHooks() { in GetAdditionalOperationHooks()
203 new std::vector<TensorFlowDialect::AdditionalOpFunction>(); in GetAdditionalOperationHooks()
207 TensorFlowDialect::ConstantFoldHook TensorFlowDialect::constant_fold_hook_;
208 TensorFlowDialect::DecodeConstantHook TensorFlowDialect::decode_constant_hook_;
[all …]
Dtf_ops.h51 class TensorFlowDialect : public Dialect {
53 TensorFlowDialect(MLIRContext *context);
99 typedef std::function<void(TensorFlowDialect &dialect)> AdditionalOpFunction;
Dtf_saved_model.cc129 context->loadDialect<TF::TensorFlowDialect>(); in TensorFlowSavedModelDialect()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/
Ddialect_registration.h31 registry.insert<mlir::StandardOpsDialect, mlir::TF::TensorFlowDialect, in RegisterAllTensorFlowDialects()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Ddecode_attributes_hook.cc51 TF::TensorFlowDialect::RegisterDecodeConstantHook(DecodeOpaqueTensorHook); in __anon761463770202()
Dtf_device_assignment.cc37 Dialect* tf = getContext().getLoadedDialect<TensorFlowDialect>(); in runOnFunction()
Dtf_device_replication_pass.cc36 registry.insert<TF::TensorFlowDialect>(); in getDependentDialects()
Dconstant_fold.cc165 TensorFlowDialect::RegisterConstantFoldHook(ConstantFoldFallbackHook); in __anon3cd6eecb0502()
Dlegalize_hlo.cc948 registry.insert<TF::TensorFlowDialect>(); in getDependentDialects()
1237 target.addLegalDialect<TensorFlowDialect>(); in runOnFunction()
/external/tensorflow/tensorflow/compiler/mlir/tfjs/
Dtfjs_opt.cc30 registry.insert<mlir::TF::TensorFlowDialect>(); in main()
/external/tensorflow/tensorflow/compiler/mlir/tfr/passes/
Dtfr_opt.cc33 registry.insert<mlir::scf::SCFDialect, mlir::TF::TensorFlowDialect, in main()
Dcanonicalize.cc157 mlir::Dialect *tf = context->getLoadedDialect<mlir::TF::TensorFlowDialect>(); in populateCanonicalizationPatterns()
Draise_to_tf.cc452 registry.insert<TFRDialect, TF::TensorFlowDialect, scf::SCFDialect, in getDependentDialects()
/external/tensorflow/tensorflow/compiler/mlir/tfr/python/
Dtfr_wrapper.cc37 registry.insert<mlir::scf::SCFDialect, mlir::TF::TensorFlowDialect, in PYBIND11_MODULE()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/
Dside_effect_analysis.cc230 TF::TensorFlowDialect::getDialectNamespace()) in OpIsKnownToHaveNoSideEffect()
231 return !TensorFlowDialect::CanHaveSideEffects(op); in OpIsKnownToHaveNoSideEffect()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_translate.cc187 registry.insert<TF::TensorFlowDialect>(); in __anonacaeaea80302()
Dmlir_tflite_runner.cc106 registry.insert<mlir::TF::TensorFlowDialect, mlir::TFL::TensorFlowLiteDialect, in main()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dconvert_tensor_test.cc38 context.loadDialect<mlir::TF::TensorFlowDialect>(); in RegisterDialects()
Dshape_inference_utils.cc181 TensorFlowDialect::getDialectNamespace()); in InferReturnTypeComponentsForTFOp()
Dtf_xla_mlir_translate.cc357 registry.insert<mlir::StandardOpsDialect, mlir::TF::TensorFlowDialect>(); in RegisterMlirInputDialects()
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dperception_ops_utils_test.cc109 context_->loadDialect<mlir::StandardOpsDialect, mlir::TF::TensorFlowDialect, in SetUp()
Dlstm_utils_test.cc97 context_->loadDialect<mlir::StandardOpsDialect, mlir::TF::TensorFlowDialect, in SetUp()
/external/tensorflow/tensorflow/compiler/mlir/tfr/integration/
Dtfr_decompose_ctx.cc100 mlir::TF::TensorFlowDialect, in GetFromText()
/external/tensorflow/tensorflow/compiler/mlir/
Dmlir_graph_optimization_pass.cc112 mlir::TF::TensorFlowDialect, in RegisterDialects()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dexport_graphdef.cc649 auto grad_string = mlir::TF::TensorFlowDialect::GetGradientAttrName(); in ConvertLibFunction()
663 auto stateful_string = mlir::TF::TensorFlowDialect::GetStatefulAttrName(); in ConvertLibFunction()

12