Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for RANDOM_UNIFORM (0.23 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

      """A model with 2 signatures.
    
      Used to test where the quantizer has to handle multiple signatures.
      """
    
      def __init__(self):
        self.matmul_filters = random_ops.random_uniform(
            shape=(4, 3), minval=-1.0, maxval=1.0
        )
        self.conv_filters = np.random.uniform(
            low=-10, high=10, size=(2, 3, 3, 2)
        ).astype('f4')
    
      @def_function.function(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_test_util.cc

    }
    
    TF_Operation* RandomUniform(TF_Operation* shape, TF_DataType dtype,
                                TF_Graph* graph, TF_Status* s) {
      TF_OperationDescription* desc =
          TF_NewOperation(graph, "RandomUniform", "random_uniform");
      TF_AddInput(desc, {shape, 0});
      TF_SetAttrType(desc, "dtype", dtype);
      return TF_FinishOperation(desc, s);
    }
    
    void Split3Helper(TF_Operation* input, TF_Graph* graph, TF_Status* s,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:52 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          output_tensor: The resulting tensor of the convolution operation.
        """
        in_placeholder = array_ops.placeholder(dtypes.float32, shape=input_shape)
    
        filters = random_ops.random_uniform(
            shape=filter_shape, minval=-1.0, maxval=1.0
        )
        if use_variable_for_filter:
          filters = variables.Variable(filters)
    
        output_tensor = nn_ops.conv2d(
            in_placeholder,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/schema/schema.fbs

      REDUCE_ALL = 140,
      CONV_3D_TRANSPOSE = 141,
      VAR_HANDLE = 142,
      READ_VARIABLE = 143,
      ASSIGN_VARIABLE = 144,
      BROADCAST_ARGS = 145,
      RANDOM_STANDARD_NORMAL = 146,
      BUCKETIZE = 147,
      RANDOM_UNIFORM = 148,
      MULTINOMIAL = 149,
      GELU = 150,
      DYNAMIC_UPDATE_SLICE = 151,
      RELU_0_TO_1 = 152,
      UNSORTED_SEGMENT_PROD = 153,
      UNSORTED_SEGMENT_MAX = 154,
      UNSORTED_SEGMENT_SUM = 155,
      ATAN2 = 156,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/ops.mlir

    }
    
    
    // -----
    
    // CHECK-LABEL: testRandomUniform
    func.func @testRandomUniform(%arg0: tensor<3xi32>) -> tensor<?x?x?xf32> {
      // CHECK: "tfl.random_uniform"(%arg0)
      %0 = "tfl.random_uniform"(%arg0) {seed = 0 : i64, seed2 = 0 : i64} : (tensor<3xi32>) -> tensor<?x?x?xf32>
      func.return %0 : tensor<?x?x?xf32>
    }
    
    // -----
    
    // CHECK-LABEL: testRandomStandardNormal
    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/legalize-tf.mlir

      %0 = "tf.RandomUniform"(%arg0) {seed = 0 : i64, seed2 = 0: i64} : (tensor<3xi32>) -> tensor<?x?x?xf32>
      func.return %0 : tensor<?x?x?xf32>
    
    // CHECK-LABEL:random_uniform_f32
    // CHECK:  "tfl.random_uniform"(%arg0) <{seed = 0 : i64, seed2 = 0 : i64}> : (tensor<3xi32>) -> tensor<?x?x?xf32>
    }
    
    func.func @random_standard_normal_f32(%arg0: tensor<3xi32>) -> tensor<?x?x?xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        F32ArrayAttr:$boundaries
      );
    
      let results = (outs
        TFL_TensorOf<[I32]>:$output
      );
    
      let hasOptions = 1;
    }
    
    def TFL_RandomUniformOp : TFL_Op<"random_uniform", []> {
      let summary = "Outputs random values from a uniform distribution.";
    
      let description = [{
    The generated values follow a uniform distribution in the range `[0, 1)`. The
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/schema/schema_generated.h

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  9. RELEASE.md

            operations to delegate instead of SDK version.
    *   `tf.random`:
        *   Various random number generation improvements:
        *   Add a fast path for default `random_uniform`
        *   `random_seed` documentation improvement.
        *   `RandomBinomial` broadcasts and appends the sample shape to the left
            rather than the right.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top