Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 157 for res_value (0.37 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc

      return success();
    }
    
    // Pattern matches the following reduction function for ArgMax/ArgMin:
    // %0 = compare{GT}(%lhs_value, %rhs_value)
    // %1 = compare{NE}(%lhs_value, %lhs_value)
    // %2 = or(%0, %1)
    // %3 = select(%2, %lhs_value, %rhs_value)
    // %4 = compare{EQ}(%lhs_value, %rhs_value)
    // %5 = compare{LT}(%lhs_index, %rhs_index)
    // %6 = and(%4, %5)
    // %7 = or(%2, %6)
    // %8 = select(%7, %lhs_index, %rhs_index)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/dependencies/sub-dependencies.md

        async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
            return {"fresh_value": fresh_value}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls mรถglich.
    
        ```Python hl_lines="1"
        async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:09:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/sub-dependencies.md

        ```Python hl_lines="1"
        async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
            return {"fresh_value": fresh_value}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="1"
        async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/dependencies/sub-dependencies.md

    ๐Ÿง ๐Ÿ˜ ๐ŸŒโ” ๐Ÿ‘† ๐Ÿ’ญ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ”— ๐Ÿค™ ๐Ÿ”  ๐Ÿ” (๐ŸŽฒ ๐Ÿ’— ๐Ÿ•ฐ) ๐ŸŽ ๐Ÿ“จ โ†ฉ๏ธ โš™๏ธ "๐Ÿ’พ" ๐Ÿ’ฒ, ๐Ÿ‘† ๐Ÿ’ช โš’ ๐Ÿ”ข `use_cache=False` ๐Ÿ•โ” โš™๏ธ `Depends`:
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ## ๐ŸŒƒ
    
    โ†–๏ธ โšช๏ธโžก๏ธ ๐ŸŒ ๐ŸŽ€ ๐Ÿ”ค โš™๏ธ ๐Ÿ“ฅ, **๐Ÿ”— ๐Ÿ’‰** โš™๏ธ ๐Ÿ™….
    
    ๐Ÿ”ข ๐Ÿ‘ˆ ๐Ÿ‘€ ๐ŸŽ *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข*.
    
    โœ‹๏ธ, โšซ๏ธ ๐Ÿ“ถ ๐Ÿ‹๏ธ, & โœ” ๐Ÿ‘† ๐Ÿ“ฃ ๐ŸŽฒ ๐Ÿ™‡ ๐Ÿฆ ๐Ÿ”— "๐Ÿ“Š" (๐ŸŒฒ).
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

            dot_dimension_nums.getRhsContractingDimensions();
        const auto lhs_contracting_dims =
            dot_dimension_nums.getLhsContractingDimensions();
    
        const Value rhs_value = op.getRhs();
        const Value lhs_value = op.getLhs();
    
        Operation* rhs_op = rhs_value.getDefiningOp();
        auto filter_constant_op = dyn_cast_or_null<stablehlo::ConstantOp>(rhs_op);
    
        // Set to `nullptr` because this attribute only matters when the input is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/dependencies/sub-dependencies.md

    ้ซ˜ๅบฆใชใ‚ทใƒŠใƒชใ‚ชใงใฏใ€ใ€Œใ‚ญใƒฃใƒƒใ‚ทใƒฅใ•ใ‚ŒใŸใ€ๅ€คใ‚’ไฝฟใ†ใฎใงใฏใชใใ€ๅŒใ˜ใƒชใ‚ฏใ‚จใ‚นใƒˆใฎๅ„ใ‚นใƒ†ใƒƒใƒ—๏ผˆใŠใใ‚‰ใ่ค‡ๆ•ฐๅ›ž๏ผ‰ใงไพๅญ˜้–ขไฟ‚ใ‚’ๅ‘ผใณๅ‡บใ™ๅฟ…่ฆใŒใ‚ใ‚‹ใ“ใจใŒใ‚ใ‹ใฃใฆใ„ใ‚‹ๅ ดๅˆใ€`Depens`ใ‚’ไฝฟ็”จใ™ใ‚‹้š›ใซใ€`use_cache=False`ใจใ„ใ†ใƒ‘ใƒฉใƒกใƒผใ‚ฟใ‚’่จญๅฎšใ™ใ‚‹ใ“ใจใŒใงใใพใ™ใ€‚
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ## ใพใจใ‚
    
    ใ“ใ“ใงไฝฟใ‚ใ‚Œใฆใ„ใ‚‹ๆดพๆ‰‹ใช่จ€่‘‰ใฏๅˆฅใซใ—ใฆใ€**ไพๅญ˜ๆ€งๆณจๅ…ฅ** ใ‚ทใ‚นใƒ†ใƒ ใฏ้žๅธธใซใ‚ทใƒณใƒ—ใƒซใงใ™ใ€‚
    
    *path operation้–ขๆ•ฐ*ใจๅŒใ˜ใ‚ˆใ†ใซ่ฆ‹ใˆใ‚‹ใŸใ ใฎ้–ขๆ•ฐใงใ™ใ€‚
    
    ใ—ใ‹ใ—ใ€ใใ‚Œใงใ‚‚้žๅธธใซๅผทๅŠ›ใงใ€ไปปๆ„ใฎๆทฑใใƒใ‚นใƒˆใ•ใ‚ŒใŸไพๅญ˜้–ขไฟ‚ใ€Œใ‚ฐใƒฉใƒ•ใ€๏ผˆใƒ„ใƒชใƒผ๏ผ‰ใ‚’ๅฎฃ่จ€ใ™ใ‚‹ใ“ใจใŒใงใใพใ™ใ€‚
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 15 16:43:41 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/aot/tests/make_test_graphs.py

    def tfvariable_readonly(_):
      x = variables.Variable(1000.0, name='x')
      unused_y = variables.Variable(1000.0, name='y')
      old_x = x.value()
      with ops.control_dependencies([old_x]):
        new_value = math_ops.add(old_x, 42.0)
      array_ops.identity(new_value, name='result')
    
    
    # TODO(b/147908587): Change x and the two constants back to have a scalar shape
    #                    when the bug is fixed.
    def tfvariable(_):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/value_test.go

    	}
    }
    
    func TestListValueContainsNestedList(t *testing.T) {
    	lvA := NewListValue()
    	lvA.Append(testValue(t, 1, int64(1)))
    	lvA.Append(testValue(t, 2, int64(2)))
    
    	lvB := NewListValue()
    	lvB.Append(testValue(t, 3, int64(3)))
    
    	elemA, elemB := testValue(t, 4, lvA), testValue(t, 5, lvB)
    	lv := NewListValue()
    	lv.Append(elemA)
    	lv.Append(elemB)
    
    	contained := lv.Contains(elemA.ExprValue())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_test.cc

      EXPECT_TRUE(statistics.has_value());
      EXPECT_EQ(statistics.value().min_max_statistics().global_min(), -5.0f);
      EXPECT_EQ(statistics.value().min_max_statistics().global_max(), 10.0f);
    
      collector.ClearData();
      statistics = collector.GetStatistics();
      EXPECT_FALSE(statistics.has_value());
    
      collector.Collect(
          /*min=*/1.0f, /*max=*/10.f, /*histogram=*/{});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 16 04:33:52 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h

    DenseElementsAttr GetScalarOfType(Type ty, T raw_value) {
      RankedTensorType scalar_ty = RankedTensorType::get({}, ty);
      if (auto float_ty = mlir::dyn_cast<FloatType>(ty)) {
        FloatAttr attr = FloatAttr::get(float_ty, raw_value);
        return DenseElementsAttr::get(scalar_ty, attr);
      } else if (auto int_ty = mlir::dyn_cast<IntegerType>(ty)) {
        IntegerAttr attr = IntegerAttr::get(int_ty, raw_value);
        return DenseElementsAttr::get(scalar_ty, attr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top