Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 135 for tf_saved_model (0.34 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_ops.td

        (i.e. `obj[0]["x"]`).
    
        The function arg attribute
        `tf_saved_model.bound_input = @some_symbol_name` references a
        `tf_saved_model.global_tensor` that is bound to that function argument
        and implicitly passed in when the function is invoked from a user-level API.
        TODO(silvasean): Consider replacing tf_saved_model.bound_input arg attrs
        with "get_global @some_global_tensor" in the function body.
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/tests/odml-to-stablehlo-smuggle-resize.mlir

    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 975 : i32}, tf_saved_model.semantics}  {
      func.func @serving_default(%arg0: tensor<1x32x32x128xf32> {tf_saved_model.index_path = ["a"]}) -> (tensor<1x64x64x128xf32> {tf_saved_model.index_path = ["b"]}) attributes {tf.entry_function = {control_outputs = "", inputs = "c:0", outputs = "d:0"}, tf_saved_model.exported_names = ["serving_default"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 18:33:43 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/optimize_global_tensors.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    
    namespace mlir {
    namespace tf_saved_model {
    namespace {
    
    #define GEN_PASS_DEF_OPTIMIZEGLOBALTENSORSPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.h.inc"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h"
    #include "tensorflow/compiler/mlir/tensorflow/translate/import_model.h"
    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    
    namespace mlir::quant {
    namespace {
    
    using ::mlir::tf_saved_model::AssetOp;
    using ::mlir::tf_saved_model::kTfSavedModelIndexPathAttr;
    using ::mlir::tf_saved_model::LookupBoundInputOfType;
    using ::tensorflow::AssetFileDef;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

    //   2) The `tf_saved_model` dialect requires that the arguments with
    //   `tf_saved_model.index_path` attributes should precede those with
    //   `tf_saved_model.bound_input` attributes. The init function of type
    //   `kTfSavedModelInitializerRestoreType` usually has an argument with
    //   `tf_saved_model.index_path`, whereas the init function of type
    //   `kTfSavedModelInitializerInitType` may have arguments with
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/mlprogram.cc

      pm.addPass(mlir::tf_saved_model::CreateLowerVariableOpsToMlProgramPass());
      pm.addPass(mlir::tf_saved_model::CreateLowerGlobalsToMlProgramPass());
      pm.addPass(mlir::TF::CreateLocalizeVarHandlesPass());
      pm.addPass(mlir::tf_saved_model::CreateAddFunctionsForExportedNamesPass());
      pm.addPass(mlir::tf_saved_model::CreateStripSavedModuleMetadataPass());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 22:39:15 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_v1.py

    # CHECK-SAME: tf.versions
    # CHECK-SAME: bad_consumers
    # CHECK-SAME: min_consumer
    # CHECK-SAME: producer
    
    # CHECK: "tf_saved_model.global_tensor"()
    # CHECK: "tf_saved_model.session_initializer"() <{initializers = [@[[init:.*]]]}> : () -> ()
    
    # CHECK:      func @[[init]]
    # CHECK-SAME: tf_saved_model.initializer_type = "init_op"
    # CHECK-NEXT: [[R6:%.*]] = "tf.Const"()
    # CHECK-NEXT: [[R5:%.*]] = "tf.Const"() <{value = dense<[1, 2,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_mark_initialized_variables.mlir

    
    module attributes {tf_saved_model.semantics, tf_saved_model.under_construction} {
    
      func.func @serving_default(%arg0: tensor<!tf_type.resource<tensor<100x50xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf_type.resource<tensor<50xf32>>> {tf.resource_name = "dense/bias"}) -> (tensor<100x50xf32> {tf_saved_model.index_path = ["dense_2"]})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    
    namespace mlir {
    namespace tf_saved_model {
    
    namespace {
    
    std::string GetVariableName(Operation* op) {
      if (auto handle = dyn_cast<TF::VarHandleOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/device_conversion.mlir

    // RUN: tf-tfrt-opt -tf-to-tfrt %s | FileCheck %s --dump-input=fail
    
    // CHECK-LABEL: func @device_test
    func.func @device_test(
        %arg0: tensor<3x1xf32> {tf_saved_model.index_path = [0]},
        %arg1: tensor<1x3xf32> {tf_saved_model.index_path = [0]})
          -> (tensor<3x3xf32> {tf_saved_model.index_path = []}) {
      // CHECK: {{%.*}} = corert.get_op_handler %arg0 "/device:GPU:0"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 645 bytes
    - Viewed (0)
Back to top