Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for InterfaceMethod (0.25 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.td

            return $_op.getDataFormat();
        }]>,
        InterfaceMethod<
          [{Returns indices of layout dependent arguments.}],
          "SmallVector<unsigned, 4>", "GetLayoutDependentArgs", (ins)
        >,
        InterfaceMethod<
          [{Returns indices of layout dependent results.}],
          "SmallVector<unsigned, 4>", "GetLayoutDependentResults", (ins)
        >,
        InterfaceMethod<
          [{Returns the optimal data layout based on the available devices.}],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 30 19:07:07 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_op_interfaces.td

      }];
    
      let methods = [
        InterfaceMethod<
          [{Returns the indices of sparse operands.}],
          "std::vector<int>", "GetSparseOperands", (ins)
        >,
        InterfaceMethod<
          [{Returns the supported block size of float sparse operands.}],
          "std::vector<std::vector<int>>", "GetFloatBlockSize", (ins)
        >,
        InterfaceMethod<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization.td

      }];
    
      let methods = [
        InterfaceMethod<
          [{Returns the affine operand index.}],
          "int", "GetAffineOperandIndex",
          (ins), [{}], [{return 1;}]>,
        InterfaceMethod<
          [{Returns whether narrow range is required for the affine operand.}],
          "bool", "RequiredNarrowRangeAffineOperand",
          (ins), [{}], [{return true;}]>,
        InterfaceMethod<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/callee.go

    // the corresponding generic function or method on the generic type.
    func StaticCallee(info *types.Info, call *ast.CallExpr) *types.Func {
    	if f, ok := Callee(info, call).(*types.Func); ok && !interfaceMethod(f) {
    		return f
    	}
    	return nil
    }
    
    func interfaceMethod(f *types.Func) bool {
    	recv := f.Type().(*types.Signature).Recv()
    	return recv != nil && types.IsInterface(recv.Type())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

            Class<?>[] interfaces = clazz.getInterfaces();
    
            for (Class<?> anInterface : interfaces) {
                Method interfaceMethod = getPublicMethod(anInterface, name, paramTypes);
    
                if (interfaceMethod != null) {
                    return interfaceMethod;
                }
            }
    
            return null;
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/api_test.go

    }
    
    func (recv *T[Q]) concreteMethod(mParam Q) (mResult Q) { return }
    
    type FT[P any] func(ftParam P) (ftResult P)
    
    func F[P any](fParam P) (fResult P){ return }
    
    type I[P any] interface {
    	interfaceMethod(P)
    }
    
    type R[P any] T[P]
    
    func (R[P]) m() {} // having a method triggers expansion of R
    
    var (
    	t T[int]
    	ft FT[int]
    	f = F[int]
    	i I[int]
    )
    
    func fn() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  7. src/go/types/api_test.go

    }
    
    func (recv *T[Q]) concreteMethod(mParam Q) (mResult Q) { return }
    
    type FT[P any] func(ftParam P) (ftResult P)
    
    func F[P any](fParam P) (fResult P){ return }
    
    type I[P any] interface {
    	interfaceMethod(P)
    }
    
    type R[P any] T[P]
    
    func (R[P]) m() {} // having a method triggers expansion of R
    
    var (
    	t T[int]
    	ft FT[int]
    	f = F[int]
    	i I[int]
    )
    
    func fn() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top