Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 410 for adaptor (0.11 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/adaptor.go

    }
    
    // nestedValueValidationToStructural converts a nested value validation to
    // an equivalent structural schema instance.
    //
    // This lets us avoid needing a separate adaptor for the nested value
    // validations, and doesn't cost too much since since we are usually exploring the
    // entire schema anyway.
    func nestedValueValidationToStructural(nvv *schema.NestedValueValidation) *Structural {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/openapi/adaptor.go

    Alexander Zielenski <******@****.***> 1696898977 -0700
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 10 21:26:55 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/common/adaptor.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package common
    
    // Schema is the adapted type for an OpenAPI schema that CEL uses.
    // This schema does not cover all OpenAPI fields but only these CEL requires
    // are exposed as getters.
    type Schema interface {
    	// Type returns the OpenAPI type.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 10 21:26:55 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

      LogicalResult matchAndRewriteImplWithSliceAndConcat(
          TF::TensorListSetItemOp op, OpAdaptor adaptor,
          ConversionPatternRewriter &rewriter) const {
        Location loc = op.getLoc();
        Value input = adaptor.getOperands()[0];
        Value index = adaptor.getOperands()[1];
        Value item = adaptor.getOperands()[2];
    
        IntegerType shape_dtype = rewriter.getIntegerType(32);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

      LogicalResult matchAndRewrite(
          TF::UniformDequantizeOp op, TF::UniformDequantizeOpAdaptor adaptor,
          ConversionPatternRewriter &rewriter) const override {
        Value input = adaptor.getInput();
    
        auto input_quant_type = GetUniformQuantizedType(
            op, op.getInput().getType(), op.getScales(), op.getZeroPoints(),
            /*expressed_type=*/rewriter.getF32Type(), op.getQuantizationMinVal(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. pilot/pkg/leaderelection/k8sleaderelection/healthzadaptor_test.go

    	}
    
    	for _, test := range tests {
    		adaptor := NewLeaderHealthzAdaptor(test.adaptorTimeout)
    		if adaptor.le != nil {
    			t.Errorf("[%s] leaderChecker started with a LeaderElector %v", test.description, adaptor.le)
    		}
    		if test.elector != nil {
    			test.elector.config.WatchDog = adaptor
    			adaptor.SetLeaderElection(test.elector)
    			if adaptor.le == nil {
    				t.Errorf("[%s] adaptor failed to set the LeaderElector", test.description)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 12 18:41:53 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc

    template <typename ResultType>
    static LogicalResult FoldDivOpInternal(stablehlo::DivOp op,
                                           PatternRewriter& rewriter) {
      auto adaptor = FoldAdaptor::Create(op);
      if (!adaptor.has_value()) {
        return failure();
      }
      auto const_oprs = adaptor.value().OperandData();
    
      const bool lhs_splat = const_oprs[0].isSplat();
      const bool rhs_splat = const_oprs[1].isSplat();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 06:11:55 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. pilot/pkg/leaderelection/k8sleaderelection/healthzadaptor.go

    	"time"
    )
    
    // HealthzAdaptor associates the /healthz endpoint with the LeaderElection object.
    // It helps deal with the /healthz endpoint being set up prior to the LeaderElection.
    // This contains the code needed to act as an adaptor between the leader
    // election code the health check code. It allows us to provide health
    // status about the leader election. Most specifically about if the leader
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 11 16:58:48 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

              op->getLoc(), op.getOperand().getType(), adaptor.getOperand());
          rewriter.replaceOpWithNewOp<mlir::stablehlo::BitcastConvertOp>(
              op, op.getResult().getType(), output);
        } else {
          // Both input/output are f32. Convert to no-op.
          rewriter.replaceOp(op, adaptor.getOperand());
        }
        return success();
      }
    };
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    OpFoldResult MaximumOp::fold(FoldAdaptor adaptor) {
      auto lhs_type = getLhs().getType();
      auto rhs_type = getRhs().getType();
      // Only constant fold for float tensors of the same type is implemented.
      if (lhs_type != rhs_type || !IsFloatShapedType(lhs_type)) return nullptr;
    
      auto lhs = adaptor.getLhs().dyn_cast_or_null<DenseElementsAttr>();
      auto rhs = adaptor.getRhs().dyn_cast_or_null<DenseElementsAttr>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top