- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 229 for transposes (0.12 sec)
-
src/internal/dag/alg_test.go
// license that can be found in the LICENSE file. package dag import ( "reflect" "strings" "testing" ) func TestTranspose(t *testing.T) { g := mustParse(t, diamond) g.Transpose() wantEdges(t, g, "a->b a->c a->d b->d c->d") } func TestTopo(t *testing.T) { g := mustParse(t, diamond) got := g.Topo() // "d" is the root, so it's first. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 04 15:31:44 UTC 2022 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir
%1 = "tf.Transpose"(%arg0, %0) : (tensor<2x3x4x5x6xf32>, tensor<5xi32>) -> tensor<2x3x4x6x5xf32> func.return %1 : tensor<2x3x4x6x5xf32> // CHECK: %[[CONST:.*]] = "tf.Const"() <{value = dense<[0, 1, 2, 4, 3]> : tensor<5xi32>}> : () -> tensor<5xi32> // CHECK: %[[TRANS:.*]] = "tf.Transpose"(%arg0, %[[CONST]]) : (tensor<2x3x4x5x6xf32>, tensor<5xi32>) -> tensor<2x3x4x6x5xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 132.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/utils.h
DenseElementsAttr perm2_const; (void)matchPattern(permutation2, m_Constant(&perm2_const)); return RemapPermutation(permutation1, perm2_const); } // Returns true if the transpose op is trivial. Trivial means that // the permutation is a cyclic permutation of the original shape with only the // identity dimensions permuted. inline bool IsTransposeTrivial(llvm::ArrayRef<int64_t> input_shape,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.td
// The list of results of the composite function. def ResultList : NativeCodeCall<"llvm::SmallVector<Value>{$0...}">; // Creates a list of NamedAttributes. An example usage would be: // (NamedAttributeList (NamedAttr<"transpose_a"> $transpose_a)) def NamedAttributeList : NativeCodeCall<"llvm::SmallVector<NamedAttribute>{$0...}">; // Creates a NamedAttribute given its name and value. Essentially creates // a pair: {attribute_name, attribute_value}.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 00:32:20 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir
// CHECK: %[[UPDATED_A:.*]] = "mhlo.transpose"(%[[A]]) <{permutation = dense<[1, 0]> : tensor<2xi64>}> // CHECK: %[[UPDATED_B:.*]] = "mhlo.transpose"(%[[B]]) <{permutation = dense<[1, 0]> : tensor<2xi64>}> // CHECK: "mhlo.dot"(%[[UPDATED_A]], %[[UPDATED_B]]) %0 = "tf.MatMul"(%a, %b) {transpose_a = true, transpose_b = true} : (tensor<7x5xf32>, tensor<11x7xf32>) -> tensor<5x11xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 335.5K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad.cc
std::vector<Output>* grad_outputs) { if (is_batch == false) { auto dx = MatMul(scope, x0, x1, MatMul::TransposeA(adj_x0).TransposeB(adj_x1)); grad_outputs->push_back(dx); auto dy = MatMul(scope, y0, y1, MatMul::TransposeA(adj_y0).TransposeB(adj_y1)); grad_outputs->push_back(dy); } else { auto dx = BatchMatMulV3(scope, x0, x1, x_data_type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 50.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TablesTransposeRowTest.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf-while.mlir
%1 = "tf.Transpose"(%arg3, %cst) {T = f32, Tperm = i32, device = ""} : (tensor<*xf32>, tensor<2xi32>) -> tensor<?x?xf32> %2 = "tf.Rank"(%arg3) : (tensor<*xf32>) -> tensor<i32> %3 = "tf.Range"(%2, %cst_0, %cst_1) : (tensor<i32>, tensor<i32>, tensor<i32>) -> tensor<?xi32> %4 = "tf.Sub"(%3, %cst_2) : (tensor<?xi32>, tensor<i32>) -> tensor<?xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_layout_helper.h
OpResult result = op->getOperation()->getResult(idx); result.setType(ShuffleRankedTensorType(result.getType(), perm)); } return success(); } // Default implementation for folding operand transpose into the operation. // See `FoldOperandsTransposeInterface::FoldOperandsPermutation`. template <typename Op> LogicalResult FoldOperandsPermutation( ArrayRef<int64_t> permutation, Op *op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 5.3K bytes - Viewed (0) -
tensorflow/cc/gradients/array_grad.cc
std::vector<Output>* grad_outputs) { auto inverted_perm = InvertPermutation(scope, op.input(1)); grad_outputs->push_back(Transpose(scope, grad_inputs[0], inverted_perm)); grad_outputs->push_back(NoGradient()); return scope.status(); } REGISTER_GRADIENT_OP("Transpose", TransposeGrad); Status ReverseSequenceGrad(const Scope& scope, const Operation& op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 31.7K bytes - Viewed (0)