- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 157 for blockSize (0.28 sec)
-
tensorflow/cc/gradients/array_grad.cc
const std::vector<Output>& grad_inputs, std::vector<Output>* grad_outputs) { int block_size; TF_RETURN_IF_ERROR( GetNodeAttr(op.node()->attrs(), "block_size", &block_size)); grad_outputs->push_back( BatchToSpace(scope, grad_inputs[0], op.input(1), block_size)); grad_outputs->push_back(NoGradient()); return scope.status(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 31.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
if (input_batch != ShapedType::kDynamic && input_batch % (block_size * block_size) != 0) { return op.emitOpError() << "requires input batch (dimension 0) to be evenly divisible " "by (block_size * block_size), but got input batch " << input_batch << " and block_size " << block_size; } input_shape.assign(input_type.getShape().begin(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/cc/gradients/array_grad_test.cc
TensorShape y_shape({1, 1, 1, 4}); auto y = SpaceToDepth(scope_, x, /* block_size */ 2); RunTest(x, x_shape, y, y_shape); } TEST_F(ArrayGradTest, DepthToSpaceGrad) { TensorShape x_shape({1, 1, 1, 4}); auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape)); TensorShape y_shape({1, 2, 2, 1}); auto y = DepthToSpace(scope_, x, /* block_size */ 2); RunTest(x, x_shape, y, y_shape); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
def LegalizeSpaceToDepth : Pat< (TF_SpaceToDepthOp $input, $block_size, IsDataFormatNHWC:$data_format), (TFL_SpaceToDepthOp $input, (convertIntAttrTo32Bit $block_size))>; def LegalizeDepthToSpace : Pat< (TF_DepthToSpaceOp $input, $block_size, IsDataFormatNHWC:$data_format), (TFL_DepthToSpaceOp $input, (convertIntAttrTo32Bit $block_size))>; def LegalizeResizeBilinear : Pat<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
src/internal/zstd/bits.go
package zstd import ( "math/bits" ) // block is the data for a single compressed block. // The data starts immediately after the 3 byte block header, // and is Block_Size bytes long. type block []byte // bitReader reads a bit stream going forward. type bitReader struct { r *Reader // for error reporting data block // the bits to read off uint32 // current offset into data
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:13 UTC 2023 - 3.3K bytes - Viewed (0) -
prow/config/calico.yaml
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 246.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td
"ArrayRef<APInt>{$0.getValue(), $0.getValue()})">; def BatchToSpaceToBatchToSpaceND : Pat< (TF_BatchToSpaceOp:$src $input, $crops, $block_size), (TF_BatchToSpaceNDOp:$dest $input, (TF_ConstOp (BatchToSpaceBlockSizeToBlockShape $block_size)), $crops), [(IsRank4Tensor $input), (IsRank2Tensor $crops)], [(CopyAttrs $src, $dest)]>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 06 18:42:28 UTC 2023 - 17K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
// expected-error @+1 {{'tf.BatchToSpace' op requires output batch (dimension 0) to be equal to input batch (dimension 0) / (block_size * block_size), but got output batch 8, input batch 16, and block_size 2}} %0 = "tf.BatchToSpace"(%arg0, %arg1) {block_size = 2 : i64} : (tensor<16x8x8x3xf32>, tensor<*xi32>) -> tensor<8x8x8x3xf32> func.return } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/tests/fallback_to_flex_ops_legacy.mlir
// CHECK: return %[[SUB_0]] : tensor<15x28x28x1xf32> } // CHECK-LABEL: depth_to_space func.func @depth_to_space(%arg0: tensor<1x1x1x4xf32>) -> tensor<1x2x2x1xf32> { %0 = "tf.DepthToSpace"(%arg0) {block_size = 2: i64, data_format = "NHWC"}: (tensor<1x1x1x4xf32>) -> tensor<1x2x2x1xf32> func.return %0 : tensor<1x2x2x1xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir
%1 = "tf.IteratorGetNext"(%arg5) {device = "/job:localhost/replica:0/task:0/device:CPU:0"} : (tensor<!tf_type.resource>) -> tensor<2x224x224x3xf32> // CHECK-DAG: %[[SPACETODEPTH0:.*]] = "tf.SpaceToDepth"([[INPUT:.*]]) <{block_size = 2 : i64, data_format = "NHWC"}> : (tensor<2x224x224x3xf32>) -> tensor<2x112x112x12xf32> %2 = "tf.AddV2"(%arg2, %arg3) {device = ""} : (tensor<i32>, tensor<i32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 37.4K bytes - Viewed (0)