- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for y_reshape (0.34 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
// Converts Tile op to HLO DBroadcastInDim and DReshape ops. // For shape [S1, S2] and multiples [M1, M2], // MS1 = M1 * S1; MS2 = M2 * S2 // // %out_dim_size = [S1, M1, S2, M2] // %broadcast_dimensions = [1, 3]; // %broadcast = mhlo.d_broadcast_in_dim(%input, %out_dim_size, %braodcast_dimensions); // %shape = [MS1, MS2]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
const auto& subgraph = model_.subgraphs[0]; auto float_graph = readonly_model_->subgraphs()->Get(0); // The original model reshape->custom->custom->squeeze. ASSERT_THAT(*float_graph->operators(), SizeIs(4)); // The resulting model should be: // reshape->dequantize->custom->custom->quantize->squeeze. ASSERT_THAT(subgraph->operators, SizeIs(6)); const std::vector<BuiltinOperator> op_codes = {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 73.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
%pop_result = "tf.Reshape"(%slice, %elem_size_const) "tf.AssignVariableOp"(%size, %new_size) ``` The pass also works across control flow and functional calls. }]; } def UnrollBatchMatMulPass : Pass<"tf-unroll-batch-matmul", "mlir::func::FuncOp"> { let summary = "Unroll TF BatchMatMul op into Reshape, Slice, MatMul, Pack ops.";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
// If the `element_shape` is a known constant (which is defined when calling // `tensor_list_stack`) and also valid (not scalar), we rewrite this op to a // trivial Reshape op (that doesn't actually change the input's shape) and // also populate the shape info to the op result. The shape of the // tensorlist is inferred from `num_elements` and `element_shape`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
# tensor 't' has shape [3, 2, 3] # pass '[-1]' to flatten 't' reshape(t, [-1]) ==> [1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6] # -1 can also be used to infer the shape # -1 is inferred to be 9: reshape(t, [2, -1]) ==> [[1, 1, 1, 2, 2, 2, 3, 3, 3], [4, 4, 4, 5, 5, 5, 6, 6, 6]] # -1 is inferred to be 2: reshape(t, [-1, 9]) ==> [[1, 1, 1, 2, 2, 2, 3, 3, 3],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0) -
RELEASE.md
* Add `tf.contrib.distributions.bijectors.Permute`. * Add `tf.contrib.distributions.bijectors.Gumbel`. * Add `tf.contrib.distributions.bijectors.Reshape`. * Support shape inference (i.e., shapes containing -1) in the Reshape bijector. * Add `streaming_precision_recall_at_equal_thresholds,` a method for computing streaming precision and recall with `O(num_thresholds + size of
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 730.3K bytes - Viewed (0)