Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for RngReadAndSkip (0.16 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

      func.func @main(%arg0: tensor<3xi64> {tf._user_specified_name = "resource", tf.aliasing_output = 3 : i64}) -> () attributes {tf.entry_function = {control_outputs = "stateful_normal/RngReadAndSkip,stateful_uniform/RngReadAndSkip,stateful_uniform_full_int/RngReadAndSkip", inputs = "stateful_normal_rngreadandskip_resource", outputs = "identity_RetVal,identity_1_RetVal,identity_2_RetVal"}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.cc

          .cast<TensorType>()
          .getElementType()
          .cast<ResourceType>()
          .getSubtypes()
          .front();
    }
    
    // Decompose tf.RngReadAndSkip.
    //
    // For Philox, the resource variable holds a tensor<3xi64> with the state:
    //   [counter_lo, counter_hi, key]
    //
    //   RngReadAndSkip increments the 128 bit counter value by 256 * delta and
    //   returns the original state value.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc

      func.func @main(%arg0: tensor<3xi64> {tf._user_specified_name = "resource", tf.aliasing_output = 3 : i64}) -> () attributes {tf.entry_function = {control_outputs = "stateful_normal/RngReadAndSkip,stateful_uniform/RngReadAndSkip,stateful_uniform_full_int/RngReadAndSkip", inputs = "stateful_normal_rngreadandskip_resource", outputs = "identity_RetVal,identity_1_RetVal,identity_2_RetVal"}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

    }
    
    
    // Test that tf.RngReadAndSkip op is decomposed.
    // CHECK-LABEL: func @decompose_rng_read_and_skip_op
    func.func @decompose_rng_read_and_skip_op(%resource: tensor<!tf_type.resource<tensor<3xi64>>>) -> tensor<3xi64> {
      %0 = "tf_device.cluster"() ({
        // We rely on the TensorFlow StatefulRandomOpsTest to check it is lowered
        // correctly.
        // CHECK-NOT: tf.RngReadAndSkip
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      );
    
      let results = (outs
        TF_FloatTensor:$product
      );
    
      TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>;
    }
    
    def TF_RngReadAndSkipOp : TF_Op<"RngReadAndSkip", []> {
      let summary = "Advance the counter of a counter-based RNG.";
    
      let description = [{
    The state of the RNG after
    `rng_read_and_skip(n)` will be the same as that after `uniform([n])`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top