- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,700 for shake (0.07 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc
if (pack_axis < 0) { pack_axis += rank; } // Concat out shape. for (int i = 0; i < rank; ++i) { int64_t dim_size = input_type.getDimSize(i); if (i == pack_axis) { dim_size *= count; } concat_out_shape.push_back(dim_size); } // Pack out shape. int j = 0; for (int i = 0; i < rank + 1; ++i) { if (i == pack_axis) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-multi-data-type-with-subtype.pbtxt
value { type: DT_INT32 } } attr { key: "shape" value { shape { unknown_rank: true } } } } node { name: "x" op: "Placeholder" attr { key: "dtype" value { type: DT_VARIANT } } attr { key: "shape" value { shape { unknown_rank: true } } } } node {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 07 18:11:42 UTC 2022 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-data-type-with-subtype.pbtxt
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 00:16:51 UTC 2022 - 1.5K bytes - Viewed (0) -
tensorflow/c/experimental/ops/array_ops.cc
// element. For example, if you have a single image of shape `[height, width, // channels]`, you can make it a batch of 1 image with `expand_dims(image, // 0)`, which will make the shape `[1, height, width, channels]`. // // Other examples: // // ``` // # 't' is a tensor of shape [2] // shape(expand_dims(t, 0)) ==> [1, 2] // shape(expand_dims(t, 1)) ==> [2, 1] // shape(expand_dims(t, -1)) ==> [2, 1] //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 10 19:11:36 UTC 2022 - 6.7K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
xs.push_back(Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape))); auto y = AddN(scope_, xs); RunTest(xs, {shape, shape, shape}, {y}, {shape}); } TEST_F(NaryGradTest, Add) { TensorShape x1_shape({3, 2, 5}); TensorShape x2_shape({2, 5}); auto x1 = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x1_shape)); auto x2 = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x2_shape));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/device_compiler_test_helper.cc
TF_RETURN_IF_ERROR(session->Create(graph)); RunOptions run_options; Tensor input_a = CreateInputTensor(shape, 0); Tensor input_b = CreateInputTensor(shape, shape.num_elements()); Tensor input_c = CreateInputTensor(shape, 2 * shape.num_elements()); TF_RETURN_IF_ERROR(session->Run( run_options, {std::make_pair("a", input_a), std::make_pair("b", input_b),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 08:24:16 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dynamic_shape_utils.cc
return llvm::to_vector(llvm::map_range(shapes, [](int64_t shape) { return shape == kTFDynamicSize ? mlir::ShapedType::kDynamic : shape; })); } llvm::SmallVector<int64_t> ConvertMlirShapeToTF( llvm::ArrayRef<int64_t> shapes) { return llvm::to_vector(llvm::map_range(shapes, [](int64_t shape) { return mlir::ShapedType::isDynamic(shape) ? kTFDynamicSize : shape; })); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Nov 21 16:21:18 UTC 2022 - 1.6K bytes - Viewed (0) -
tensorflow/cc/gradients/linalg_grad_test.cc
Output y = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(y_shape)); auto z = Einsum(scope_, {x, y}, "i,i->"); TensorShape z_shape({}); RunTest({x, y}, {x_shape, y_shape}, {z}, {z_shape}); } TEST_F(LinalgGradTest, Einsum_OuterProduct) { TensorShape x_shape({3}); TensorShape y_shape({5}); Output x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 07 23:11:54 UTC 2022 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/readonly_references_to_resources.mlir
// Test case: Basic converting. func.func @f() { // CHECK: "tf.VarHandleOp" // CHECK: "tf.ReadVariableOp" %val0 = "tf.VariableV2"() {_class = ["loc:@v"], container = "", device = "", shape = #tf_type.shape<96>, shared_name = ""} : () -> tensor<96x!tf_type.f32ref> %val1 = "tf.Identity"(%val0) : (tensor<96x!tf_type.f32ref>) -> tensor<96xf32> func.return } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
*/ int connectionState; int tid; String share; String service = "?????"; String service0; SmbSession session; boolean inDfs, inDomainDfs; int tree_num; // used by SmbFile.isOpen SmbTree( SmbSession session, String share, String service ) { this.session = session; this.share = share.toUpperCase(); if( service != null && service.startsWith( "??" ) == false ) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 8K bytes - Viewed (0)