Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 120 for _output_shapes (0.31 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/functional-while-ops.mlir

    // CHECK: name: "StatefulWhile"
    // CHECK-NOT: name:
    // CHECK: op: "While"
    // CHECK-NOT: is_stateless
    // CHECK-NOT: shape_invariant
    // CHECK:  attr {
    // CHECK:    key: "output_shapes"
    // CHECK:    value {
    // CHECK:      list {
    // CHECK:        shape {
    // CHECK:          dim {
    // CHECK:            size: 5
    // CHECK:          }
    // CHECK:        }
    // CHECK:      }
    // CHECK:    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_pmap_and_batch.mlir

      %4 = "tf.TensorSliceDataset"(%2) {device = "", output_shapes = [#tf_type.shape<>], metadata = ""} : (tensor<3xi32>) -> tensor<*x!tf_type.variant>
      // CHECK: "tf.MapAndBatchDataset"(%[[TSLICE]],
      // CHECK-SAME: f = @"__inference_Dataset_map_<lambda>_80",
      %5 = "tf.ParallelMapDataset"(%4, %3) {device = "",
               f = @"__inference_Dataset_map_<lambda>_80",
               output_shapes = [#tf_type.shape<>], output_types = [i32],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_canonicalization_helper.h

    template <typename Op>
    struct DropAttributes : public OpRewritePattern<Op> {
      using OpRewritePattern<Op>::OpRewritePattern;
    
      // Drop the "output_shapes" attribute.
      LogicalResult matchAndRewrite(Op op,
                                    PatternRewriter &rewriter) const override {
        bool found = !!op->removeAttr("output_shapes");
        return success(found);
      }
    };
    
    // Helper function to create TF op while copying all underscore attributes from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 12 21:57:12 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/tests/end2end.mlir

        %drop_remainder: i1 {tfr.name="drop_remainder"},
        %f: !tfr.attr {tfr.name="func"},
        %output_types: !tfr.attr {tfr.name="output_types"},
        %output_shapes: !tfr.attr {tfr.name="output_shapes"},
        %preserve_cardinality: i1 {tfr.name="preserve_cardinality", tfr.default=false}) -> !tfr.tensor {
      %batch = "tfr.constant_tensor"(%batch_size) : (i64) -> tensor<i64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/decompose_reduce_dataset.mlir

        ) {
        // CHECK: tf.ReduceDataset
        %1 = "tf.ReduceDataset"(%arg0, %arg1) {
          Targuments = [],
          Tstate = [i64], device = "",
          f = @__reduce_func_0, f._tf_data_function = true,
          output_shapes = [#tf_type.shape<>],
          output_types = [i64], use_inter_op_parallelism = true } : (tensor<!tf_type.variant>, tensor<i64>) -> (tensor<i64>)
        func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 18 17:16:34 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/tf-data-pipeline.pbtxt

      op: "TensorSliceDataset"
      input: "tensors/normalize_tensors/component_0"
      attr {
        key: "Toutput_types"
        value {
          list {
            type: DT_INT32
          }
        }
      }
      attr {
        key: "output_shapes"
        value {
          list {
            shape {
            }
          }
        }
      }
    }
    node {
      name: "MapDataset"
      op: "MapDataset"
      input: "TensorSliceDataset"
      attr {
        key: "Targuments"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 29 04:41:05 UTC 2021
    - 4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.cc

      std::array<int64_t, 4> output_shape;
      // NHWC <- NCHW
      output_shape[0] = composite_result_shape[0];
      output_shape[1] = composite_result_shape[2];
      output_shape[2] = composite_result_shape[3];
      output_shape[3] = composite_result_shape[1];
    
      auto input_type = mlir::cast<ShapedType>(old_op->getOperand(0).getType());
    
      return RankedTensorType::get(output_shape, input_type.getElementType());
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 18:33:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental_test.cc

        CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
        CHECK_EQ(output_shapes->num_items, 1);
    
        int num_dims = output_shapes->items[0].num_dims;
        int64_t* dims = output_shapes->items[0].dims;
    
        if (!expected_shape.has_value()) {
          EXPECT_EQ(num_dims, -1);
          EXPECT_EQ(dims, nullptr);
          return;
        }
    
        EXPECT_EQ(num_dims, expected_shape->size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/shape-attrs.pbtxt

        }
      }
      attr {
        key: "index"
        value {
          i: 4
        }
      }
    }
    node {
      name: "IteratorGetNext"
      op: "IteratorGetNext"
      input: "args_0"
      attr {
        key: "output_shapes"
        value {
          list {
            shape {
              dim {
                size: 1
              }
              dim {
                size: 8
              }
            }
            shape {
              dim {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 04 18:02:53 UTC 2020
    - 5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/case.mlir

          %outputs_4, %control_5 = tf_executor.island wraps "tf.Identity"(%outputs_2) {device = ""} : (tensor<*xi32>) -> tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top