Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 162 for output_types (0.36 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        mlir::ArrayAttr array_attr, llvm::SmallVector<mlir::Type> &output_types,
        llvm::SmallVector<mlir::DictionaryAttr> &output_attrs) {
      for (auto it : llvm::zip(
               types, array_attr.template getAsRange<mlir::DictionaryAttr>())) {
        if (mlir::isa<tfg::ControlType>(std::get<0>(it))) continue;
        output_types.push_back(std::get<0>(it));
    
        mlir::NamedAttrList list;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

    bool IsMustNotBeXlaOp(Operation* op) {
      for (auto& input : op->getOpOperands()) {
        if (TypeMustBeNonXLA(input.get().getType())) return true;
      }
      for (auto output_types : op->getResultTypes()) {
        if (TypeMustBeNonXLA(output_types)) return true;
      }
      return false;
    }
    
    // Check if the op must be compiled with XLA. If the op does not satisfy this
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/order_by_dialect.mlir

    }
    
    // CHECK-LABEL: iterators
    func.func private @iterators(%arg0 : tensor<!tf_type.variant>) {
      %0 = "tf.Iterator"() {container = "", output_shapes = [#tf_type.shape<200x28x28x1>, #tf_type.shape<200x10>], output_types = [f32, f32], shared_name = "_iterator1"} : () -> tensor<!tf_type.resource>
      %1 = func.call @id(%arg0) : (tensor<!tf_type.variant>) -> tensor<!tf_type.variant>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/localize_var_handles.mlir

      }
    
      // CHECK-LABEL: @main
      func.func @main()
      attributes {tf_saved_model.exported_names = ["main"]} {
        %0 = "tf.Iterator"() {container = "", output_shapes = [#tf_type.shape<200x10>], output_types = [f32], shared_name = "foo_iterator"} : () -> tensor<!tf_type.resource>
        %1 = func.call @get_next(%0) : (tensor<!tf_type.resource>) -> tensor<200x10xf32>
        return
      }
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 21:12:02 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/split_into_island_per_op.mlir

            next_func.experimental_ints_on_device = true,
            operandSegmentSizes = array<i32: 2, 2, 1>,
            output_shapes = [#tf_type.shape<?>],
            output_types = [f32],
            metadata = ""
          } :
             (tensor<!tf_type.string>, tensor<*x!tf_type.string>, tensor<!tf_type.string>, tensor<*xi64>, tensor<!tf_type.string>) -> tensor<*x!tf_type.variant>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

    void ParallelExecuteOp::build(OpBuilder& builder, OperationState& state,
                                  int num_regions, TypeRange output_types) {
      DCHECK_GE(num_regions, 1);
      for (int i = 0; i < num_regions; ++i) {
        Region* region = state.addRegion();
        region->push_back(new Block);
      }
      state.addTypes(output_types);
    }
    
    Block& ParallelExecuteOp::GetRegionBlockWithIndex(unsigned index) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/breakup-islands.mlir

            next_func.experimental_ints_on_device = true,
            operandSegmentSizes = array<i32: 2, 2, 1>,
            output_shapes = [#tf_type.shape<?>],
            output_types = [f32],
            metadata = ""
          } :
             (tensor<!tf_type.string>, tensor<*x!tf_type.string>, tensor<!tf_type.string>, tensor<*xi64>, tensor<!tf_type.string>) -> tensor<*x!tf_type.variant>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 28.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

      }
    
      auto anonymous_iterator = builder.create<AnonymousIteratorV3Op>(
          reduce_dataset.getLoc(),
          RankedTensorType::get({}, builder.getType<ResourceType>()),
          /*output_types=*/builder.getArrayAttr(type_attrs),
          /*shape_types=*/builder.getArrayAttr(shape_attrs));
      builder.create<MakeIteratorOp>(reduce_dataset.getLoc(),
                                     reduce_dataset.getInputDataset(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

            // expected-remark@above {{ID: 0}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

        %0 = "tf.TakeDataset"(%arg0, %cst) {device = "", metadata = "", output_shapes = [#tf_type.shape<>], output_types = [!tf_type.string]} : (tensor<!tf_type.variant>, tensor<i64>) -> tensor<!tf_type.variant>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top