Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for canTransform (0.14 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

                if (metaMethod != null) {
                    return DynamicInvokeResult.found(metaMethod.doMethodInvoke(bean, arguments));
                }
    
                if (argsTransformer.canTransform(arguments)) {
                    List<MetaMethod> metaMethods = metaClass.respondsTo(bean, name);
                    for (MetaMethod method : metaMethods) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/BeanDynamicObjectTest.groovy

                    if (!types[i].theClass.isInstance(result[i])) {
                        return args
                    }
                }
                return result
            }
    
            @Override
            boolean canTransform(Object[] args) {
                return true
            }
        }
    
        static class Bean {
            String prop
    
            String m(int l) {
                return "[${l + 1}]"
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

    // functional ops. A trivial transformation can be done when the regions are
    // just calls to functions, in which case no outlining is needed.
    struct TrivialTransformInfo {
      // Can the op be transformed trivially?
      bool can_transform = false;
    
      // List of callee names (one for each region).
      llvm::SmallVector<StringRef, 2> callee_names;
    
      // Analyzes the given calls (from regions attached to the same parent op) to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top