- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for permutation (0.17 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
// input_shape[M+1], ..., input_shape[N-1]] SmallVector<int64_t> permutation(reshaped_shape.size()); permutation[0] = block_rank; for (int i = 0; i < block_rank; ++i) { permutation[1 + 2 * i] = block_rank + 1 + i; permutation[1 + 2 * i + 1] = i; } std::iota(permutation.begin() + 1 + block_rank * 2, permutation.end(), 1 + block_rank * 2);
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/compiler/jit/encapsulate_subgraphs_pass.cc
} } return absl::OkStatus(); } // Renumber the indices of _Arg nodes in a graph, according to // 'permutation' that maps old indices to new indices. static Status RenumberArguments(Graph* graph, const std::vector<int>& permutation) { for (Node* n : graph->op_nodes()) { if (n->type_string() == kArgOp) { int index;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 51K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
(TFL_TransposeOp (TFL_TransposeOp:$transpose_out1 $input, (Arith_ConstantOp:$permutation1 $p1)), (Arith_ConstantOp:$permutation2 $p2)), (TFL_TransposeOp $input, (Arith_ConstantOp (RemapPermutation $permutation1, $permutation2))), [(HasOneUse $transpose_out1)]>; // Convert expand_dims to reshape if possible. def ConvertExpandDimsToReshape : Pat< (TFL_ExpandDimsOp:$expand_dims_op $input, $dim),
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/tests/lower_tf.mlir
// CHECK-DAG: [[RESHAPED_SHAPE:%.+]] = "tf.ConcatV2"([[PADDED_SHAPE_SPLITS]]#0, [[OUTER_SHAPE_0]], [[BLOCK_SHAPE_SPLITS]]#0, [[OUTER_SHAPE_1]], [[BLOCK_SHAPE_SPLITS]]#1, [[PADDED_SHAPE_SPLITS]]#3, [[ZERO_I64]]) // CHECK-DAG: [[PERMUTATION:%.+]] = "tf.Const"() <{value = dense<[2, 4, 0, 1, 3, 5]> : tensor<6xi64>}> // CHECK-DAG: [[OUTPUT_BATCH_PART:%.+]] = "tf.Mul"([[PADDED_SHAPE_SPLITS]]#0, [[BLOCK_SHAPE_SPLITS]]#0)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 05 18:35:42 UTC 2024 - 92K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
// method that it is a 4-D RankedTensorType. Value legalizeFilter(PatternRewriter &rewriter, Location loc, Value filter) const { // Create a constant op for HWIO to OHWI transpose permutation. SmallVector<int, 4> perm = {3, 0, 1, 2}; auto perm_type = tensorflow::GetTypeFromTFTensorShape( {static_cast<int>(perm.size())}, rewriter.getIntegerType(32)); auto perm_attr =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
src/crypto/des/des_test.go
} // Plaintext for use with Table A.3 tests var tableA3Plaintext = []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} // Table A.3 Values To Be Used for the Permutation Operation Known Answer Test var tableA3Tests = []CryptTest{ { // 0 []byte{ 0x10, 0x46, 0x91, 0x34, 0x89, 0x98, 0x01, 0x31, 0x10, 0x46, 0x91, 0x34, 0x89, 0x98, 0x01, 0x31,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 16:49:56 UTC 2023 - 52.2K bytes - Viewed (0) -
tensorflow/c/c_api.h
// The distinction between an empty array of operations and no // array of operations is necessary to distinguish the case of // creating a function with no body (e.g. identity or permutation) // and the case of creating a function whose body contains all // the nodes in the graph (except for the automatic skipping, see // below).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0)