Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for LinSpace (0.26 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK-DAG: [[LINSPACE:%.*]] = chlo.broadcast_add [[MUL]], [[START]] {broadcast_dimensions = array<i64>}
      // CHECK: return [[LINSPACE]]
      %0 = "tf.Const"() {_output_shapes = ["tfshape$"], device = "", dtype = i32, value = dense<4> : tensor<i32>} : () -> tensor<i32>
      %1 = "tf.LinSpace"(%arg0, %arg1, %0) : (tensor<f32>, tensor<f32>, tensor<i32>) -> tensor<4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        axis.push_back((val.getSExtValue() + rank) % rank);
      }
    
      return builder->getI64TensorAttr(axis);
    }
    
    /// Converts the LinSpace tensorflow op to a mhlo.iota op with a scaling
    /// and offset applied to generate the linspace values. The output tensor needs
    /// to have a static shape.  The implementation is defined in C++ because there
    /// is no type inference for the iota op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    }
    
    def TF_LinSpaceOp : TF_Op<"LinSpace", [Pure]> {
      let summary = "Generates values in an interval.";
    
      let description = [{
    A sequence of `num` evenly-spaced values are generated beginning at `start`.
    If `num > 1`, the values in the sequence increase by
    `(stop - start) / (num - 1)`, so that the last one is exactly `stop`.
    
    For example:
    
    ```
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  4. RELEASE.md

            dispatches the best kernel implementation based on CPU vector
            architecture. To disable them, build with
            `--define=tensorflow_mkldnn_contraction_kernel=0`.
        *   `tf.linspace(start, stop, num)` now always uses "stop" as last value
            (for num > 1)
        *   Added top-k to precision and recall to keras metrics.
        *   Add a ragged size op and register it to the op dispatcher
    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