Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 232 for RESIZE (0.1 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

            (returnType (GetNhwcReturnTypeFromNchw $old_val))),
          (Arith_ConstantOp
            ConstantAttr<RankedI32ElementsAttr<[4]>,"{0, 3, 1, 2}">))>;
    
    // pattern to lower a stablehlo.composite of `jax` and `pytorch` image resize fuctions
    // in `nearest` mode and with NHWC inputs to a tflite.resize_nearest_neighbor op.
    def LegalizeNhwcResizeNearestNeighbor2dComposite: Pat<
        (MHLO_CompositeOp:$old_val
        (variadic $input),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    				if len(vols) > 0 {
    					t.Errorf("No resize request for any volumes, but found resize required volumes in ASW: %v", vols)
    				}
    			},
    			volumeMode: v1.PersistentVolumeFilesystem,
    		},
    
    		{
    			// Make volume used as ReadOnly, so volume shouldn't be marked as fsResizeRequired
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go

    		// Volume not exist in ASW, we assume it hasn't been mounted yet. If it needs resize,
    		// it will be handled as offline resize(if it indeed hasn't been mounted yet),
    		// or online resize in subsequent loop(after we confirm it has been mounted).
    		return
    	}
    	// volumeSpec.ReadOnly is the value that determines if volume could be formatted when being mounted.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

      TF_RETURN_IF_ERROR(ParseArgumentKinds(arg_kinds_str, arg_kinds_vector));
    
      if (input_shapes_vector.empty())
        input_shapes_vector.resize(dtypes_vector.size());
    
      if (arg_kinds_vector.empty())
        arg_kinds_vector.resize(input_shapes_vector.size(),
                                XlaArgument::Kind::kParameter);
    
      if (input_shapes_vector.size() != dtypes_vector.size() ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  5. src/internal/fuzz/mem.go

    	// Create a temporary file.
    	f, err := os.CreateTemp("", "fuzz-*")
    	if err != nil {
    		return nil, err
    	}
    	defer func() {
    		if err != nil {
    			f.Close()
    			os.Remove(f.Name())
    		}
    	}()
    
    	// Resize it to the correct size.
    	totalSize := sharedMemSize(size)
    	if err := f.Truncate(int64(totalSize)); err != nil {
    		return nil, err
    	}
    
    	// Map the file into memory.
    	removeOnClose := true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:44:27 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/device_util.cc

      const int storage_size = storage_.size();
      if (word_index >= storage_size) {
        storage_.resize(word_index + 1, 0);
      }
    
      storage_[word_index] |= (1ull << bit_index);
    }
    
    void DeviceSet::UnionWith(const DeviceSet& other) {
      if (other.storage_.size() > storage_.size()) {
        storage_.resize(other.storage_.size(), 0);
      }
    
      for (int i = 0, end = other.storage_.size(); i < end; i++) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc

      }
    
     protected:
      Option<bool> skip_quantization_ops_{
          *this, "skip-quantization-ops",
          ::llvm::cl::desc("Skip quantization ops")};
    
      Option<bool> skip_resize_{
          *this, "skip-resize",
          ::llvm::cl::desc("Skip tf.ResizeBilinear and tf.ResizeNearestNeighbor")};
    
      Option<bool> skip_partitioned_calls_{
          *this, "skip-partitioned-calls",
          ::llvm::cl::desc(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/outbuf_mmap.go

    		// area.
    		if err != syscall.ENOTSUP && err != syscall.EPERM && err != errNoFallocate {
    			return err
    		}
    	}
    	err = out.f.Truncate(int64(filesize))
    	if err != nil {
    		Exitf("resize output file failed: %v", err)
    	}
    	out.buf, err = syscall.Mmap(int(out.f.Fd()), 0, int(filesize), syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_SHARED|syscall.MAP_FILE)
    	if err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/schema/schema_generated.h

      { auto _e = min(); if (_e) { _o->min.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->min[_i] = _e->Get(_i); } } else { _o->min.resize(0); } }
      { auto _e = max(); if (_e) { _o->max.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->max[_i] = _e->Get(_i); } } else { _o->max.resize(0); } }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/proxy/doc.go

    //
    // The stream translator proxy is used for the RemoteCommand
    // subprotocol (e.g. kubectl exec, cp, and attach), and it connects
    // the output streams of a WebSocket connection (e.g. STDIN, STDOUT,
    // STDERR, TTY resize, and error streams) to the input streams of a
    // SPDY connection.
    //
    // The stream tunnel proxy tunnels SPDY frames through a WebSocket
    // connection, and it is used for the PortForward subprotocol (e.g.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 17:56:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top