Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AnonymousIterator (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/name_anonymous_iterators.mlir

      return
    }
    
    // -----
    
    // CHECK-LABEL: handles_all_versions
    func.func private @handles_all_versions() {
      // CHECK: "tf.Iterator"
      // CHECK-SAME: 1x42
      %0 = "tf.AnonymousIterator"() {output_shapes = [
        #tf_type.shape<1x42>], output_types = [f32]} : () -> tensor<!tf_type.resource>
      // CHECK: "tf.Iterator"
      // CHECK-SAME: 2x42
      %1, %2 = "tf.AnonymousIteratorV2"() {output_shapes = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 14 09:25:38 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_device_ops.h

          Name("MakeIterator").Device(DEVICE).HostMemory("dataset"),               \
          data::MakeIteratorOp);                                                   \
      REGISTER_KERNEL_BUILDER(Name("AnonymousIterator").Device(DEVICE),            \
                              data::AnonymousIteratorHandleOp);                    \
      REGISTER_KERNEL_BUILDER(Name("AnonymousIteratorV2").Device(DEVICE),          \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 23 19:28:25 UTC 2021
    - 17.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<tf_device::TensorFlowDeviceDialect>();
      }
    
      void runOnOperation() override;
    };
    
    // Create the AnonymousIterator for `reduce_dataset` with `dataset_types` using
    // `builder`.
    AnonymousIteratorV3Op CreateIterator(OpBuilder builder,
                                         llvm::ArrayRef<Type> dataset_types,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

    }
    
    def NameAnonymousIteratorsPass : Pass<"tf-name-anonymous-iterators", "ModuleOp"> {
      let summary = "Converts anonymous iterators to named iterators";
      let description = [{
          This converts AnonymousIterator ops to Iterator, thus giving them a name.
          For example, this will convert
            %0 = "tf.AnonymousIteratorV3"() {...}
          to
            %0 = "tf.Iterator"() {shared_name = "_iterator1", ...}
      }];
    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/g3doc/_includes/tf_passes.md

    -direction             : Move transposes to the beginning or the end of the block where they are defined.
    ```
    ### `-tf-name-anonymous-iterators`
    
    _Converts anonymous iterators to named iterators_
    
    This converts AnonymousIterator ops to Iterator, thus giving them a name.
    For example, this will convert
      %0 = "tf.AnonymousIteratorV3"() {...}
    to
      %0 = "tf.Iterator"() {shared_name = "_iterator1", ...}
    ### `-tf-optimize`
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        TF_F32OrF64Tensor:$output
      );
    
      TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>;
      TF_DerivedResultTypeAttr Tout = TF_DerivedResultTypeAttr<0>;
    }
    
    def TF_AnonymousIteratorOp : TF_Op<"AnonymousIterator", [TF_UniqueResourceAllocation]> {
      let summary = "A container for an iterator resource.";
    
      let arguments = (ins
        ConfinedAttr<TypeArrayAttr, [ArrayMinCount<1>]>:$output_types,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top