Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for get_arg (0.14 sec)

  1. tests/test_default_response_class_router.py

    def get_path_override():
        return "Hello World"
    
    
    @router_a.get("/")
    def get_a():
        return {"msg": "Hello A"}
    
    
    @router_a.get("/override", response_class=PlainTextResponse)
    def get_a_path_override():
        return "Hello A"
    
    
    @router_a_a.get("/")
    def get_a_a():
        return {"msg": "Hello A A"}
    
    
    @router_a_a.get("/override", response_class=PlainTextResponse)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 01 20:49:20 UTC 2020
    - 5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/post_quantize.cc

          if (const QuantizedType qtype =
                  QuantizedType::getQuantizedElementType(q.getArg().getType())) {
            rewriter.setInsertionPoint(op);
            rewriter.replaceOpWithNewOp<quantfork::DequantizeCastOp>(
                op, op.getResult().getType(), q.getArg());
            return success();
          }
    
          op.replaceAllUsesWith(q.getArg());
          return success();
        }
        return failure();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. tests/test_default_response_class.py

    def get_path_override():
        return "Hello World"
    
    
    @router_a.get("/")
    def get_a():
        return {"msg": "Hello A"}
    
    
    @router_a.get("/override", response_class=PlainTextResponse)
    def get_a_path_override():
        return "Hello A"
    
    
    @router_a_a.get("/")
    def get_a_a():
        return {"msg": "Hello A A"}
    
    
    @router_a_a.get("/override", response_class=PlainTextResponse)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 01 20:49:20 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/post_quantize.cc

          if (auto qtype =
                  QuantizedType::getQuantizedElementType(q.getArg().getType())) {
            rewriter.setInsertionPoint(op);
            rewriter.replaceOpWithNewOp<quantfork::DequantizeCastOp>(
                op, op.getResult().getType(), q.getArg());
            return success();
          }
    
          op.replaceAllUsesWith(q.getArg());
          return success();
        }
        return failure();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testerrors/testdata/issue42580.go

    }
    
    func TestSingleArgumentCastRecFuncAsSimpleArg() C.int {
    	retcode := C.func_with_char((*C.char)(unsafe.Pointer(C.get_arr((*C.char)(unsafe.Pointer(&singleInnerPointerChecked[0])), unsafe.Pointer(C.strarg)))), nil)
    	return retcode
    }
    
    func TestSingleArgumentCastRecFunc() C.int {
    	retcode := C.func_with_char((*C.char)(unsafe.Pointer(C.get_arr((*C.char)(unsafe.Pointer(&doublePointerChecked[0])), unsafe.Pointer(C.strarg)))), unsafe.Pointer(C.strarg))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top