- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for tfg (0.01 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
for (auto &block : region) { // Split tfg.NextIteration to break the cycle. SplitNextIteration(block); tfg::SortTopologically(&block); } } } // Version information is embedded in graph operation in TFG. In TFE, it's // embedded in the module operation. for (auto &op : module.getBodyRegion().getOps()) { auto graph = dyn_cast<tfg::GraphOp>(op); if (!graph) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/shape_inference_utils.h
LogicalResult InferReturnTypeComponentsForTFOp( std::optional<Location> location, Operation* op, int64_t graph_version, tfg::OperandAsConstantFn operand_as_constant_fn, tfg::OpResultAsShapeFn op_result_as_shape_fn, tfg::ResultElementTypeFn result_element_type_fn, SmallVectorImpl<ShapedTypeComponents>& inferred_return_shapes); } // namespace TF } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 04:50:13 UTC 2023 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg.mlir
tfg.func @test_func_name0(%test_func_name0: tensor<*x!tf_type.resource> {tf._output_shapes = #tf_type.shape<*>, tf._resource_arg_unique_id = 0 : i64, tfg.name = "test_func_name0"}, %test_func_name01: tensor<*x!tf_type.resource> {tf._output_shapes = #tf_type.shape<*>, tf._resource_arg_unique_id = 0 : i64, tfg.name = "test_func_name01"})
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg_arg_control_dep.mlir
// RUN: tf-opt -tfe-legalize-tfg %s | FileCheck %s module { tfg.graph #tf_type.version<producer = 62, min_consumer = 12> { %Const, %ctl = Const name("Constant") {dtype = i32, value = dense<0> : tensor<i32>} : () -> (tensor<i32>) %foo, %ctl_0 = foo(%Const) name("_tf.foo") : (tensor<i32>) -> (tensor<*xi32>) } tfg.func @foo(%arg: tensor<*xi32> {tfg.name = "arg"}) -> (tensor<*xi32> {tfg.dtype = i32, tfg.name = "return_value"}) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 06 02:08:28 UTC 2022 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/shape_inference_utils.cc
tfg::OperandAsConstantFn operand_as_constant_fn, tfg::OpResultAsShapeFn op_result_as_shape_fn, tfg::ResultElementTypeFn result_element_type_fn, SmallVectorImpl<ShapedTypeComponents>& inferred_return_shapes) { assert(op->getName().getDialectNamespace() == TensorFlowDialect::getDialectNamespace()); return tfg::InferReturnTypeComponentsForTFOp(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Dec 22 13:13:44 UTC 2022 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg_with_control_flow.mlir
// RUN: tf-opt -tfe-legalize-tfg %s | FileCheck %s module { tfg.graph #tf_type.version<producer = 27, min_consumer = 0> { // CHECK: tf_executor.Enter // CHECK: {{%.*}}, %[[TOKEN:.*]], {{%.*}} = tf_executor.NextIteration.Source // CHECK: {{%.*}}, {{%.*}}, %[[CONTROL:.*]] = tf_executor.Merge // CHECK: tf_executor.island(%[[CONTROL]]) wraps "tf.Const"() // CHECK: tf_executor.LoopCond // CHECK: tf_executor.Switch
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 06 18:31:38 UTC 2022 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/runlit.cfg.py
'tf-mlir-translate', 'tf-opt', 'tf-quant-opt', 'tf-reduce', 'tf-tfrt-opt', 'tf_tfjs_translate', 'tf_tfl_translate', 'tfcompile', 'tfg-opt-no-passes', 'tfg-transforms-opt', 'tfg-translate', 'tfjs-opt', ] tools = [ToolSubst(s, unresolved='ignore') for s in tool_names] llvm_config.add_tool_substitutions(tools, tool_dirs)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 18:52:19 UTC 2024 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/dialect_registration.h
mlir::tf_device::TensorFlowDeviceDialect, mlir::tf_executor::TensorFlowExecutorDialect, mlir::tf_saved_model::TensorFlowSavedModelDialect, mlir::tfg::TFGraphDialect>(); if (include_extensions) { mlir::func::registerAllExtensions(registry); } } // Inserts all the TensorFlow dialects in the provided registry. This is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 15 16:15:16 UTC 2023 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_graph.cc
// specifiable. GraphDebugInfo debug_info; switch (config.dialect) { case MlirDumpConfig::Dialect::kTFG: { TF_ASSIGN_OR_RETURN(module, mlir::tfg::ImportGraphAndFunctionsToMlir( &context, debug_info, graph, flib_def ? *flib_def : graph.flib_def())); break; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc
#include "tensorflow/core/ir/importexport/mangling.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/platform/protobuf.h" namespace tensorflow { namespace mangling_util { namespace { using ::mlir::tfg::mangling_util::PrintShortTextProto; const char kAttributePrefix[] = "tf."; const char kDataTypePrefix[] = "tfdtype$"; const char kTensorShapePrefix[] = "tfshape$"; const char kTensorPrefix[] = "tftensor$";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.2K bytes - Viewed (0)