- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 130 for input_type (0.18 sec)
-
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
// Create a tfl.transpose op that performs ZX transpose on `input`. auto create_z_x_transpose_op = [&](Value input) -> Value { RankedTensorType input_type = mlir::cast<RankedTensorType>(input.getType()); const int input_rank = input_type.getRank(); // Create a 1D I32 tensor for representing the dimension permutation. auto permuation_tensor_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py
shape=input_shape, dtype=dtypes.float32, name='input_tensor' ) ), options=save_options, ) return model def _create_gather_model(self, input_type, use_variable) -> module.Module: class GatherModel(module.Module): """A simple model with a single gather.""" def __init__(self, use_variable): """Initializes a GatherModel.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
// of `input_type`, if the `quant_dim` is valid. On the other hand, the // symmetry of min and max is not adjusted by this method. The QAT workflow // should set min/max correctly (and use `narrow_range`=true, `is_signed`=true) // if symmetric quantization is required. TypeAttr GetQuantizedTypeAttr(Builder builder, Type input_type, Attribute min,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/passes.h
std::unique_ptr<OperationPass<ModuleOp>> CreateOptimizeFunctionalOpsPass(); std::unique_ptr<OperationPass<func::FuncOp>> CreateModifyIONodesPass( mlir::Type input_type, mlir::Type output_type); std::unique_ptr<OperationPass<func::FuncOp>> CreateModifyIONodesPass(); // Creates an instance of the TensorFlow Lite dialect PostQuantizeRemoveQDQ // pass.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 07 21:29:34 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py
('use_constant_with_int64_input', np.int64, False), ('use_variable_with_int64_input', np.int64, True), ) @test_util.run_v2_only def test_gather_model(self, input_type, use_variable): model = self._create_gather_model(input_type, use_variable) save.save(model, self._input_saved_model_path) rng = np.random.default_rng(seed=42) static_input_shape = [6]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 51.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
// If no padding is negative return the input as is. if (llvm::all_of(explicit_padding, [](int64_t pad) { return pad >= 0; })) { return value; } auto input_type = mlir::cast<RankedTensorType>(value.getType()); auto input_shape = input_type.getShape(); llvm::SmallVector<int64_t, 4> start; llvm::SmallVector<int64_t, 4> size; start.reserve(explicit_padding.size() / 2);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc
*index); } return absl::OkStatus(); } // Returns the data type of the destination of an edge. DataType EdgeType(const Edge* edge) { return edge->dst()->input_type(edge->dst_input()); } // Adds the control inputs of `node` to `*deps`. void AddControlInputs(const Node& node, absl::flat_hash_set<Node*>* deps) { for (const Edge* edge : node.in_edges()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 15.1K bytes - Viewed (0) -
pkg/dns/proto/nds.pb.go
1, // 1: istio.networking.nds.v1.NameTable.TableEntry.value:type_name -> istio.networking.nds.v1.NameTable.NameInfo 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_dns_proto_nds_proto_init() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
const bool enable_per_channel_quantized_weight) { const GemmStyleOp gemm_style_op = *entry_func_op.getOps<GemmStyleOp>().begin(); const Type input_type = entry_func_op.getArgumentTypes()[0]; const Type filter_type = entry_func_op.getArgumentTypes()[1]; const Type func_result_type = entry_func_op.getResultTypes()[0];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc
if (inserted) { NodeDef arg_def; NodeDefBuilder builder( absl::StrCat(src_node->name(), "_", src_slot, "_arg"), kArgOp, NodeDebugInfo(src_node->def())); DataType dtype = edge->dst()->input_type(edge->dst_input()); builder.Attr("T", dtype); builder.Attr("index", arg_index); Status s = builder.Finalize(&arg_def); if (!s.ok()) return s;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 51K bytes - Viewed (0)