- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for transposes (0.31 sec)
-
tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir
// CHECK: %[[TRANSPOSE:.*]] = "tf.Transpose"(%[[DEQUANT]], %[[CST]]) : (tensor<3x4xf32>, tensor<?xi32>) -> tensor<*xf32> // CHECK: %[[MATMUL:.*]] = "tf.MatMul"(%arg0, %[[TRANSPOSE]]) <{grad_a = false, grad_b = false, transpose_a = false, transpose_b = true}> : (tensor<2x3xf32>, tensor<*xf32>) -> tensor<2x4xf32> // CHECK: return %[[MATMUL]] : tensor<2x4xf32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 59.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
[(HasRank<2> $input), (AreLastTwoDimsTransposed $perm_value), (IsBoolAttrEqual<"false"> $adj_y)]>; // Replace conv-->transpose-->add with conv-->add-->transpose // The bias needs only reshape (i.e. ReshapeNCHWBiasToNHWC) and not transpose // because the bias's shape simply changes from NxCx1x1 to Nx1x1xC. def ReorderNCHWTransposeAdd : Pat < (TFL_AddOp:$add_op
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
rewriter.replaceOpWithNewOp<ConcatV2Op>(op, op.getType(), expanded_inputs, axis_value); return success(); } }; // Lowers SpaceToBatchND by reducing to reshape(transpose(reshape(pad(input)))). // // Before rewrite: // output = SpaceToBatchND(input, block_shape, paddings) // Let: // [batch] + spatial_shape + remaining_shape = input.shape // M = spatial_shape.rank
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_Operation* r, const char* name, bool transpose_a = false, bool transpose_b = false) { TF_OperationDescription* desc = TF_NewOperation(graph, "MatMul", name); if (transpose_a) { TF_SetAttrBool(desc, "transpose_a", 1); } if (transpose_b) { TF_SetAttrBool(desc, "transpose_b", 1); } TF_AddInput(desc, {l, 0}); TF_AddInput(desc, {r, 0});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
TFL::populateWithGenerated(patterns); // TODO(fengliuai): Implement similar rule in the QuantizePass if the constant // folding hook of tfl.transpose and tfl.reshape are implemented. patterns.add<ReorderFakeQuantPattern<TF::ReshapeOp>, ReorderFakeQuantPattern<TF::TransposeOp>>(ctx); // Remove redundant reshape ops. TF::ReshapeOp::getCanonicalizationPatterns(patterns, ctx);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.cc
// [{X, Y}, {Size, Z}], the better clustering is Size with Y because the // output of size will be a small tensor while Y is a potentially large // tensor that must be computed and possible transposed/copied before // the second cluster executes. Node* n = GetOnlyNodeIn(*to); bool is_shape_consumer_op = n && IsShapeConsumerOp(*n); if (!is_shape_consumer_op) { return false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-quantize.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 67.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py
'concatenate', 'gather', 'max_pool', 'pad', 'reshape', 'select', 'slice', 'transpose', ), }]) ) @test_util.run_in_graph_and_eager_modes def test_matmul_and_same_scale_ptq_model( self, same_scale_op: str, ): input_shape = (2, 3, 1, 1024)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 51.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformBuildOperationIntegrationTest.groovy
void checkExecuteTransformWorkOperations(List<BuildOperationRecord> executeWorkOps, List<String> skipMessages) { assert executeWorkOps.size() == skipMessages.size() [executeWorkOps, skipMessages].transpose().every { op, skipMessage -> verifyAll(op) { details.workType == "TRANSFORM" result.skipMessage == skipMessage } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 16:27:38 UTC 2024 - 67.8K bytes - Viewed (0) -
src/net/http/transport.go
// This behavior can be managed using [Transport.CloseIdleConnections] method // and the [Transport.MaxIdleConnsPerHost] and [Transport.DisableKeepAlives] fields. // // Transports should be reused instead of created as needed. // Transports are safe for concurrent use by multiple goroutines. // // A Transport is a low-level primitive for making HTTP and HTTPS requests.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0)