Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for arg_attrs (0.23 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.cc

      // as we are replacing it with tf_saved_model.index_path.
      SmallVector<NamedAttribute> new_arg_attrs;
      for (auto arg_attr : arg_attrs) {
        if (arg_attr.getName() == "tf_saved_model.bound_input") continue;
        new_arg_attrs.emplace_back(arg_attr);
      }
    
      const NamedAttribute index_path_attr(
          builder.getStringAttr(kTfSavedModelIndexPathAttr),
          builder.getStrArrayAttr({index_path}));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args_test.cc

      func::FuncOp main_func_op = GetMainFuncOp(*module_op);
      DictionaryAttr arg_attrs = main_func_op.getArgAttrDict(/*index=*/0);
    
      EXPECT_THAT(arg_attrs.get("tf_saved_model.bound_input"), IsNull());
    
      const ArrayRef<Attribute> index_path_attrs =
          mlir::cast<ArrayAttr>(arg_attrs.get("tf_saved_model.index_path"))
              .getValue();
      EXPECT_THAT(index_path_attrs, SizeIs(1));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc

      const auto file_prefix_attr = builder.getStringAttr(kTfFilePrefix);
      const auto arg_attrs = builder.getDictionaryAttr({builder.getNamedAttr(
          kTfSavedModelIndexPathAttr, builder.getArrayAttr({file_prefix_attr}))});
    
      const int insert_idx = func_op.getNumArguments();
    
      func_op.insertArgument(insert_idx, /*argType=*/filename_op_type, arg_attrs,
                             NameLoc::get(file_prefix_attr));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 12 06:02:20 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-resource-args.mlir

    // Check _resource_arg_unique_id for each argument. Since they alias each other,
    // both values are 0.
    // CHECK:          arg_attr
    // CHECK-NEXT:       key: 0
    // CHECK-NEXT:       value
    // CHECK:             key: "_resource_arg_unique_id"
    // CHECK-NEXT:        value
    // CHECK-NEXT:          i: 0
    // CHECK:          arg_attr
    // CHECK-NEXT:       key: 1
    // CHECK-NEXT:       value
    // CHECK:              key: "_resource_arg_unique_id"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/end2end/disallow_stateful_partitioned_call.pbtxt

          }
        }
        ret {
          key: "identity"
          value: "Identity:output:0"
        }
        arg_attr {
          key: 0
          value {
            attr {
              key: "_user_specified_name"
              value {
                s: "inputs"
              }
            }
          }
        }
        arg_attr {
          key: 1
          value {
          }
        }
      }
    }
    versions {
      producer: 121
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 24 20:05:09 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/output-shapes-attr.mlir

    // CHECK-NEXT:        }
    // CHECK-NEXT:        input_arg {
    // CHECK-NEXT:          name: "dont_inline_tpu_partitioned_call1"
    // CHECK-NEXT:          type: DT_INT32
    // CHECK-NEXT:        }
    // CHECK:           arg_attr {
    // CHECK-NEXT:        key: 0
    // CHECK-NEXT:        value {
    // CHECK-NEXT:          attr {
    // CHECK-NEXT:            key: "_output_shapes"
    // CHECK-NEXT:            value {
    // CHECK-NEXT:              list {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/case_op.pbtxt

              type: DT_INT32
            }
          }
          experimental_debug_info {
            original_node_names: "add"
          }
        }
        ret {
          key: "add"
          value: "add_0:z:0"
        }
        arg_attr {
          key: 0
          value {
            attr {
              key: "_output_shapes"
              value {
                list {
                  shape {
                  }
                }
              }
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 07 20:38:34 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function.pbtxt

          }
        }
        ret {
          key: "identity"
          value: "Identity:output:0"
        }
        arg_attr {
          key: 0
          value {
            attr {
              key: "_user_specified_name"
              value {
                s: "inputs"
              }
            }
          }
        }
        arg_attr {
          key: 1
          value {
          }
        }
      }
    }
    versions {
      producer: 121
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 24 00:18:34 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/tf-data-pipeline.pbtxt

          attr {
            key: "T"
            value {
              type: DT_INT32
            }
          }
        }
        ret {
          key: "identity"
          value: "Identity:output:0"
        }
        arg_attr {
          key: 0
          value {
            attr {
              key: "_user_specified_name"
              value {
                s: "args_0"
              }
            }
          }
        }
      }
    }
    versions {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 29 04:41:05 UTC 2021
    - 4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/xla_call_module_deserialization.mlir

    \03\03\00\05\04\1F\03\01\06\03\01\05\01\00\9E\07G\1B)\11\0B!\1B\1D\05\1B\1B\03\0F%\1F/!!)#\1F\19)\1F\13\15\1D\15G\11\1F\15\11\0F\0B\11builtin\00vhlo\00module\00func_v1\00return_v1\00custom_call_v1\00call_v1\00xla_call_module_serialization.mlir\00arg_attrs\00function_type\00res_attrs\00sym_name\00sym_visibility\00mhlo.num_partitions\00api_version\00backend_config\00call_target_name\00called_computations\00has_side_effect\00operand_layouts\00output_operand_aliases\00result_layouts\00tf.backend_con...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 02 18:38:51 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top