Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Ftruncate (0.2 sec)

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

          return failure();
        }
    
        auto expected_shape = llvm::to_vector<4>(input_shape.drop_back());
        expected_shape.push_back(expected_dim);
    
        // Zero pad or truncate the last axis
        Value reshaped = op.getInput();
        SmallVector<int64_t, 4> begin_indices(input_shape.size(), 0);
        SmallVector<int64_t, 4> strides(input_shape.size(), 1);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    func (s *state) extendIndex(idx, len *ssa.Value, kind ssa.BoundsKind, bounded bool) *ssa.Value {
    	size := idx.Type.Size()
    	if size == s.config.PtrSize {
    		return idx
    	}
    	if size > s.config.PtrSize {
    		// truncate 64-bit indexes on 32-bit pointer archs. Test the
    		// high word and branch to out-of-bounds failure if it is not 0.
    		var lo *ssa.Value
    		if idx.Type.IsSigned() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top