Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 101 for broadcast_or (0.24 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

              [(TF_Tensor $output)]>;
    
    //===----------------------------------------------------------------------===//
    // Binary op patterns.
    // Note that these are legalized from chlo.broadcast_* ops, since those are
    // semantically compatible with the corresponding TF ops. Depending on
    // context, getting to these ops may require some raising.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

    }
    
    // Gets the broadcasted shapes of the input and weight of the BatchMatMul op
    // from their types. If there are dynamic dimesions, these shapes couldn't be
    // used as the arguments for the BroadcastTo ops.
    std::optional<std::pair<SmallVector<int64_t>, SmallVector<int64_t>>>
    GetBroadcastShapesForBatchMatmul(ShapedType input_type,
                                     ShapedType weight_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir

      // CHECK-NEXT: %[[CONST10:.*]] = "tf.Const"() <{value = dense<10> : tensor<1xi32>}> : () -> tensor<1xi32>
      // CHECK-NEXT: %[[BROADCAST:.*]] = "tf.BroadcastTo"(%[[CAST_ZERO]], %[[CONST10]]) : (tensor<f32>, tensor<1xi32>) -> tensor<10xf32>
      // CHECK-NEXT: %[[BUFFER:.*]] = "tf.MlirLocalVarOp"() : () -> tensor<!tf_type.resource<tensor<10xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/horizontal.go

    	cpuInitializationPeriod,
    	delayOfInitialReadinessStatus time.Duration,
    ) *HorizontalController {
    	broadcaster := record.NewBroadcaster(record.WithContext(ctx))
    	broadcaster.StartStructuredLogging(3)
    	broadcaster.StartRecordingToSink(&v1core.EventSinkImpl{Interface: evtNamespacer.Events("")})
    	recorder := broadcaster.NewRecorder(scheme.Scheme, v1.EventSource{Component: "horizontal-pod-autoscaler"})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/ops.mlir

      %4 = "tfl.broadcast_args"(%2, %3) : (tensor<8xi64>, tensor<8xi64>) -> tensor<8xi64>
      %5 = "tfl.broadcast_to"(%arg0, %4) : (tensor<8x7x6x5x?x3x2x1xi1>, tensor<8xi64>) -> tensor<8x7x6x5x?x3x2x1xi1>
      %6 = "tfl.broadcast_to"(%arg1, %4) : (tensor<8x7x6x5x?x3x2x1xf32>, tensor<8xi64>) -> tensor<8x7x6x5x?x3x2x1xf32>
      %7 = "tfl.broadcast_to"(%arg2, %4) : (tensor<?x3x2x1xf32>, tensor<8xi64>) -> tensor<8x7x6x5x?x3x2x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/optimize.mlir

      %cst = arith.constant dense<0> : tensor<1xui32>
      %0 = "tfl.broadcast_to"(%cst, %arg0) : (tensor<1xui32>, tensor<1xi32>) -> tensor<?xui32>
      return %0 : tensor<?xui32>
    
      // CHECK:  %cst = arith.constant dense<0> : tensor<1xui32>
      // CHECK:  %0 = "tfl.broadcast_to"(%cst, %arg0) : (tensor<1xui32>, tensor<1xi32>) -> tensor<?xui32>
      // CHECK:  return %0 : tensor<?xui32>
    }
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller.go

    	defer utilruntime.HandleCrash()
    	logger := klog.FromContext(ctx)
    
    	// Start events processing pipeline.
    	jm.broadcaster.StartStructuredLogging(3)
    	jm.broadcaster.StartRecordingToSink(&v1core.EventSinkImpl{Interface: jm.kubeClient.CoreV1().Events("")})
    	defer jm.broadcaster.Shutdown()
    
    	defer jm.queue.ShutDown()
    	defer jm.orphanQueue.ShutDown()
    
    	logger.Info("Starting job controller")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

        TFL::QConstOp rhs_qconst_op;
    
        auto GetBroadcastedConstOp = [&](Value operand) -> TFL::QConstOp {
          if (auto broadcast_op = dyn_cast_or_null<stablehlo::BroadcastInDimOp>(
                  operand.getDefiningOp())) {
            auto stablehlo_const_op = dyn_cast_or_null<stablehlo::ConstantOp>(
                broadcast_op.getOperand().getDefiningOp());
            auto const_uniform_quantized_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

        (SelectOp $condition, $input2, $input1)>;
    
      // Fuse select(broadcast_to(input, shape), x, y) -> selectV2(input, x, y)
      // Also, fuse selectv2(broadcast_to(input, shape), x, y) -> selectV2(input, x, y)
      // It is safe to perform this transform here because-
      // the shapes of `pre_broadcast` and `dim` must be broadcast
      // compatible for the `broadcast_to` op to be valid.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  10. pkg/controller/endpointslicemirroring/reconciler_test.go

    		})
    	}
    }
    
    // Test Helpers
    
    func newReconciler(ctx context.Context, client *fake.Clientset, maxEndpointsPerSubset int32) *reconciler {
    	broadcaster := record.NewBroadcaster(record.WithContext(ctx))
    	recorder := broadcaster.NewRecorder(scheme.Scheme, corev1.EventSource{Component: "endpoint-slice-mirroring-controller"})
    
    	return &reconciler{
    		client:                client,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top