Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for LinSpace (0.21 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py

        # So hist_mids[i] = (lower_bound + bin_width / 2) + bin_width * i
        first_mid = self._lower_bound + self._bin_width / 2
        last_mid = first_mid + (self._num_bins - 1) * self._bin_width
        self._hist_mids = np.linspace(first_mid, last_mid, self._num_bins)
    
      def _get_dequantized_hist_mids_after_quantize(
          self, quant_min: float, quant_max: float
      ) -> np.ndarray:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/go/printer/printer.go

    }
    
    // trimmer is implemented as a state machine.
    // It can be in one of the following states:
    const (
    	inSpace  = iota // inside space
    	inEscape        // inside text bracketed by tabwriter.Escapes
    	inText          // inside text
    )
    
    func (p *trimmer) resetSpace() {
    	p.state = inSpace
    	p.space = p.space[0:0]
    }
    
    // Design note: It is tempting to eliminate extra blanks occurring in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  6. 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)
  7. 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