- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 90 for index_path (0.31 sec)
-
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 22.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc
// Matches the `tf_saved_model.index_path = ["__tf_file_prefix"]`. const auto index_path_attr_itr = node_def.attr().find(kTfSavedModelIndexPathAttr.str()); if (index_path_attr_itr != node_def.attr().end()) { const auto& index_paths = index_path_attr_itr->second.list().s(); if (absl::c_find(index_paths, kTfFilePrefix.str()) != index_paths.end()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir
// The pass shouldn't do anything in this case. // CHECK: func @f(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.index_path = [0]}) func.func @f(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.index_path = [0]}) attributes {tf_saved_model.exported_names = ["f"]} { %val = "tf.ReadVariableOp"(%arg0) : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 03:07:35 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_ops.td
and use the standardized MLIR `sym_name` attribute to hold it. This dialect annotates func ops with two argument attributes `tf_saved_model.index_path` and `tf_saved_model.bound_input` in order to model the calling API of a function with SavedModel semantics. In particular, func's in SavedModel are called with a structured value, and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/no_input_shape_v1.py
# CHECK-SAME: tf.versions # CHECK-SAME: bad_consumers # CHECK-SAME: min_consumer # CHECK-SAME: producer # CHECK: func {{@[a-zA-Z_0-9]+}}( # CHECK-SAME: [[ARG:%.*]]: tensor<*xf32> {tf_saved_model.index_path = ["x"]} # CHECK: [[shape:%.*]] = "tf.Shape"([[ARG]]) # CHECK-NEXT: [[batch_size:%.*]] = "tf.StridedSlice"([[shape]], # CHECK-NEXT: [[result:%.*]] = "tf.Pack"([[batch_size]], # CHECK-NEXT: return [[result]] : tensor<2xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h
// function to represent the path which one would use to index into a structured // value to reach a given tensor. inline constexpr StringRef kTfSavedModelIndexPathAttr = "tf_saved_model.index_path"; // Name of the attribute that inidicates the type of initializer. It should be // on a function and the function should exist in the initializers attribute of // the SessionInitializerOp.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 03:21:34 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_assets.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 4.5K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/add_dump_tensor_op_stablehlo.mlir
// RUN: tf-quant-opt %s -split-input-file -quant-add-dump-tensor-op='debugger_type=float_per_layer' | FileCheck --check-prefix=FloatPerLayer %s module { func.func @matmul2(%arg0: tensor<?x2xf32> {tf_saved_model.index_path = ["input_tensor"]}) -> (tensor<?x2xf32>) { %0 = stablehlo.constant dense<[-0.211145893, -0.708605706]> : tensor<2xf32> %1 = stablehlo.constant dense<[[-0.630731344, 0.54962182], [0.180364341, -0.764542698]]> : tensor<2x2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 22:55:22 UTC 2024 - 18K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/add_dump_tensor_op.mlir
// FloatPerLayer-DAG: return %[[output1_unquantized]] } // ----- module { func.func @matmul2(%arg0: tensor<2x2xf32> {tf_saved_model.index_path = ["input_tensor"]}) -> (tensor<2x2xf32>) { %cst = "tf.Const"() {device = "", value = dense<[[-0.630731344, 0.54962182], [0.180364341, -0.764542698]]> : tensor<2x2xf32>} : () -> tensor<2x2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 22:55:22 UTC 2024 - 37.9K bytes - Viewed (0)