Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 184 for output_types (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/jit/compilability_check_util.h

      bool OpProducesOrConsumesVariant(const Node& node) const {
        auto is_variant = [](DataType dtype) { return dtype == DT_VARIANT; };
        return absl::c_any_of(node.input_types(), is_variant) ||
               absl::c_any_of(node.output_types(), is_variant);
      }
    
      bool HasXLAKernel(const Node& node,
                        string* uncompilable_reason = nullptr) const;
    
      static void MaybeMarkUncompilableNode(
          const absl::string_view reason,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

        // to the region block's return.
        bool RegionWrapsSingleOp(unsigned index);
      }];
    
      let builders = [
        OpBuilder<(ins "int":$num_regions, "TypeRange":$output_types)>,
      ];
    
      let hasVerifier = 1;
    }
    
    def TfDevice_ReplicateOp : TfDevice_Op<"replicate",
        [SingleBlockImplicitTerminator<"ReturnOp">, AttrSizedOperandSegments]> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      std::vector<Type> input_types = GetValueTypes(inputs);
      std::vector<Type> output_types = GetValueTypes(outputs);
      builder.setInsertionPointToEnd(&module.getBodyRegion().back());
      func::FuncOp func_op = builder.create<func::FuncOp>(
          module.getLoc(), name,
          builder.getFunctionType(input_types, output_types));
      func_op.setPrivate();
    
      return func_op;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

        mlir::ArrayAttr dims = first_op.getPartitionDimsAttr();
        StringAttr sharding = first_op.get_XlaShardingAttr();
        Operation::result_type_range output_types = first_op.getResultTypes();
        result_op = builder.create<mlir::TF::TPUPartitionedOutputV2Op>(
            replicate_op.getLoc(), output_types, cluster.getResult(result_id), dims,
            sharding);
    
        results.insert(results.end(), result_op->getResults().begin(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/cc_op_gen_util.cc

        const auto& arg = graph_op_def.output_arg(i);
        const auto& api_def_arg(api_def.out_arg(i));
        CHECK_EQ(arg.name(), api_def_arg.name());
    
        bool is_list = ArgIsList(arg);
        output_types.push_back(
            strings::StrCat("::tensorflow::", is_list ? "OutputList" : "Output"));
        output_names.push_back(AvoidCPPKeywords(api_def_arg.rename_to()));
        is_list_output.push_back(is_list);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    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,
        ConfinedAttr<TF_ShapeAttrArray, [ArrayMinCount<1>]>:$output_shapes
      );
    
      let results = (outs
        Res<TF_ResourceTensor, [{A handle to the iterator that can be passed to a "MakeIterator" or
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir

        "tf.Yield"(%1) : (tensor<5xf32>) -> ()
      }) {device = "/job:tpu_host_worker/replica:0/task:0/device:CPU:0", metadata = "", operandSegmentSizes = array<i32: 1, 2, 1>, output_shapes = [#tf_type.shape<>], output_types = [!tf_type.string]} : (tensor<4xf32>, tensor<3xf32>, tensor<!tf_type.resource>, tensor<2xf32>) -> tensor<!tf_type.variant>
      return
    }
    
    // -----
    
    func.func @init(%arg0: tensor<4xf32>) -> tensor<7xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 02 11:15:34 UTC 2024
    - 44.3K bytes
    - Viewed (0)
Back to top