Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for GetInputs (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

    LogicalResult rewriteToReduceSumAndTranspose(TF::EinsumOp op,
                                                 EinsumDimensionNumbers dnums,
                                                 PatternRewriter& rewriter) {
      auto inputs = op.getInputs();
      Value lhs = inputs.front();
    
      // Having indices in dnums.lhs list indicates that the ranks of the input and
      // output to the unary einsum are not equal making it non-candidate for simple
      // transpose.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

        llvm::function_ref<std::optional<Type>(int64_t)> arg_to_buffer_type,
        llvm::function_ref<bool(int64_t)> arg_buffer_size_is_fixed) {
      auto new_input_types = llvm::to_vector<8>(func.getFunctionType().getInputs());
      int64_t original_arg_count = new_input_types.size();
      Location loc = func.getLoc();
      for (int64_t i = 0; i < original_arg_count; ++i) {
        auto buffer_type = arg_to_buffer_type(i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        LogicalResult verifyType() { return success(); }
    
        mlir::Region *getCallableRegion();
    
        /// Returns the argument types of this function.
        ArrayRef<Type> getArgumentTypes() { return getFunctionType().getInputs(); }
    
        /// Returns the result types of this function.
        ArrayRef<Type> getResultTypes() { return getFunctionType().getResults(); }
    
        // Get the names of all defined attributes, including both derived and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/plugins/JavaGradlePluginPlugin.java

                project.getNormalization().getRuntimeClasspath().ignore(PluginUnderTestMetadata.METADATA_FILE_NAME);
    
                project.getTasks().withType(Test.class).configureEach(test -> {
                    test.getInputs()
                        .files(pluginClasspathTask.get().getPluginClasspath())
                        .withPropertyName("pluginClasspath")
                        .withNormalizer(ClasspathNormalizer.class);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 06:56:29 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

    }
    
    extern int TFE_OpGetFlatInputCount(const TFE_Op* op, TF_Status* status) {
      return tensorflow::unwrap(op)->GetInputs().size();
    }
    
    extern TFE_TensorHandle* TFE_OpGetFlatInput(const TFE_Op* op, int index,
                                                TF_Status* status) {
      return tensorflow::wrap(tensorflow::unwrap(op)->GetInputs()[index]);
    }
    
    TF_AttrType TFE_OpGetAttrType(TFE_Op* op, const char* attr_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        llvm::SmallVector<Type> res_types;
        llvm::SmallVector<DictionaryAttr> arg_attrs;
        llvm::SmallVector<DictionaryAttr> res_attrs;
        if (failed(FilterTfgSpecificArgResultAttributes(
                getContext(), ftype.getInputs(), graph_func.getAllArgAttrs(),
                arg_types, arg_attrs)) ||
            failed(FilterTfgSpecificArgResultAttributes(
                getContext(), ftype.getResults(), graph_func.getAllResultAttrs(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        if (mlir::isa<VariantType>(getElementTypeOrSelf(addn_op.getType())))
          return failure();
        llvm::SmallVector<Value, 4> operands(addn_op.getInputs().begin(),
                                             addn_op.getInputs().end());
    
        int64_t n = operands.size();
        // Keep doing tree-based reduction when there are more than one operand.
        while (n > 1) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

                           .getSplatValue<Attribute>());
      }
    
      // Check the non-zero operand's shape matches the result shape.
      if (result_ty == getInputs()[non_zero_index].getType())
        return getInputs()[non_zero_index];
      return {};
    }
    
    //===----------------------------------------------------------------------===//
    // AddV2Op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

                import org.gradle.api.DefaultTask;
                import org.gradle.api.tasks.TaskAction;
    
                public class Foo extends DefaultTask {
                    public Foo() {
                        getInputs().property("a", null).optional(true);
                    }
    
                    @TaskAction
                    public void doSomething() {}
                }
            """
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      if (cond_fn_type.getNumResults() != 1)
        return emitOpError("requires cond function to have exactly one result");
    
      return VerifyWhileTypes(*this, /*cond_input=*/cond_fn_type.getInputs(),
                              /*body_input=*/body_fn_type.getInputs(),
                              /*body_result=*/body_fn_type.getResults(),
                              getShapeInvariant());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top