Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 211 for get_arg (0.17 sec)

  1. fastapi/_compat.py

            field_annotation_is_scalar(sub_annotation)
            for sub_annotation in get_args(annotation)
        )
    
    
    def is_bytes_or_nonable_bytes_annotation(annotation: Any) -> bool:
        if lenient_issubclass(annotation, bytes):
            return True
        origin = get_origin(annotation)
        if origin is Union or origin is UnionType:
            for arg in get_args(annotation):
                if lenient_issubclass(arg, bytes):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc

      // Matches x -> [scast -> scast] -> y, replacing the second scast with the
      // value of x if the casts invert each other.
      auto srcScastOp = getArg().getDefiningOp<StorageCastOp>();
      if (!srcScastOp || srcScastOp.getArg().getType() != getType())
        return OpFoldResult();
      return srcScastOp.getArg();
    }
    
    /// The quantization specification should match the expressed type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc

      // Matches x -> [scast -> scast] -> y, replacing the second scast with the
      // value of x if the casts invert each other.
      auto srcScastOp = getArg().getDefiningOp<StorageCastOp>();
      if (!srcScastOp || srcScastOp.getArg().getType() != getType())
        return OpFoldResult();
      return srcScastOp.getArg();
    }
    
    /// The quantization specification should match the expressed type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy

                        return "bar";
                    }
                    public String getBar3() {
                        return "bar";
                    }
                }
            """
            file("src/main/java/com/example/Bar.java").java """
                package com.example;
    
                public class Bar {
                    public String getBar() {
                        return "bar";
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoTaskExtension.java

         */
        public enum Output {
            FILE,
            TCP_SERVER,
            TCP_CLIENT,
            NONE;
    
            /**
             * Gets type in format of agent argument.
             */
            public String getAsArg() {
                return toString().toLowerCase(Locale.US).replaceAll("_", "");
            }
        }
    
        private final JacocoAgentJar agent;
        private final JavaForkOptions task;
    
        private boolean enabled = true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

                                    PatternRewriter& rewriter) const override {
        auto preceding_qcast =
            q_op.getArg().getDefiningOp<quantfork::QuantizeCastOp>();
        if (!preceding_qcast) return failure();
    
        auto new_qcast = rewriter.create<quantfork::QuantizeCastOp>(
            q_op.getLoc(), q_op.getType(), preceding_qcast.getArg());
        new_qcast->setAttr(kVolatileOpAttrName, rewriter.getUnitAttr());
        q_op->replaceAllUsesWith(new_qcast);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/ir/ConvertConst.cc

    LogicalResult QuantizedConstRewrite::matchAndRewrite(
        QuantizeCastOp qbarrier, PatternRewriter &rewriter) const {
      Attribute value;
    
      // Is the operand a constant?
      if (!matchPattern(qbarrier.getArg(), m_Constant(&value))) {
        return failure();
      }
    
      // Does the qbarrier convert to a quantized type. This will not be true
      // if a quantized type has not yet been chosen or if the cast to an equivalent
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/compilerFacility/bugsFromRealComposeApps/constExprInitializer.ir.txt

              GET_VAR 'featuredPodcast: data.PodcastWithExtraInfo declared in home.preview' type=data.PodcastWithExtraInfo origin=null
            VAR name:podcast type:kotlin.String [val]
              CALL 'public final fun component1 (): kotlin.String [operator] declared in data.PodcastWithExtraInfo' type=kotlin.String origin=COMPONENT_N(index=1)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 18 11:28:11 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassAndFunctionContextReceivers.ir.txt

                    receiver: GET_VAR 'p0: <root>.Test declared in <root>.CodeFragment.run' type=<root>.Test origin=null
                  $context_receiver_1: GET_FIELD 'FIELD FIELD_FOR_CLASS_CONTEXT_RECEIVER name:contextReceiverField1 type:<root>.Ctx2 visibility:private [final] declared in <root>.Test' type=<root>.Ctx2 origin=null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Apr 26 06:04:06 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/compilerFacility/bugsFromRealComposeApps/constExprLateInitializer.ir.txt

              GET_VAR 'featuredPodcast: data.PodcastWithExtraInfo declared in home.preview' type=data.PodcastWithExtraInfo origin=null
            VAR name:podcast type:kotlin.String [val]
              CALL 'public final fun component1 (): kotlin.String [operator] declared in data.PodcastWithExtraInfo' type=kotlin.String origin=COMPONENT_N(index=1)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 18 11:28:11 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top