Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CST (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/decompose_optionals.mlir

      %cst = "tf.Const"() <{value = dense<1> : tensor<i32>}> {device = ""} : () -> tensor<i32>
      %0 = "tf.MultiDeviceIteratorFromStringHandle"(%arg0) <{output_shapes = [#tf_type.shape<>], output_types = [!tf_type.string]}> {device = ""} : (tensor<!tf_type.string>) -> tensor<!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      ElementsAttr attr;
      if (auto cst = dyn_cast<mlir::arith::ConstantOp>(inst)) {
        // arith::ConstantOp have ElementAttr at this point due to validation of the
        // TFLite module.
        attr = mlir::cast<ElementsAttr>(cst.getValue());
      } else if (auto cst = dyn_cast<mlir::TF::ConstOp>(inst)) {
        attr = cst.getValue();
      } else if (auto cst = dyn_cast<tfl::ConstOp>(inst)) {
        attr = cst.getValue();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

        module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
          func.func @main() -> (tensor<2xi32>) {
            %cst = "tf.Const"() {value = dense<[524170, 523952]> : tensor<2xi32>} : () -> tensor<2xi32>
            return %cst : tensor<2xi32>
        }
      })";
    
      auto compilation_result = CompileMlirModule(
          kHasReturnValuesAndNoMetadataRetvals,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

          "tf.MakeIterator"(%arg0, %0) : (tensor<!tf_type.variant>, tensor<!tf_type.resource>) -> ()
          %cst = "tf.Const"() {value = dense<true> : tensor<i1>} : () -> tensor<i1>
          %1:2 = "tf.WhileRegion"(%cst, %arg1) ({
          ^bb0(%arg2: tensor<i1>, %arg3: tensor<i64>):
            "tf.Yield"(%arg2) : (tensor<i1>) -> ()
          }, {
          ^bb0(%arg2: tensor<i1>, %arg3: tensor<i64>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        auto cst =
            rewriter.create<mhlo::ConstantOp>(op.getLoc(), zero_attr).getResult();
        auto split_updates = rewriter.create<TF::SplitOp>(
            op.getLoc(), split_updates_type, cst, updates);
    
        SmallVector<Value, 6> input_indices;
        input_indices.resize(input_type.getRank(), cst);
    
        for (auto pair :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top