Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,288 for converts (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow_to_stablehlo/README.md

      module will be written (default: stdout).
    
    
    ### Examples
    
    * To convert [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50)
    model to StableHLO with static input shape `4x3x224x224` for input argument with
    type `tensor<?x3x224x224xf32>`.
    
    ```bash
    tf-to-stablehlo-translate <saved-model-path> --input-arg-shapes=4,3,224,224
    ```
    
    * To convert
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/labels/labels.go

    func (ls Set) Get(label string) string {
    	return ls[label]
    }
    
    // AsSelector converts labels into a selectors. It does not
    // perform any validation, which means the server will reject
    // the request if the Set contains invalid values.
    func (ls Set) AsSelector() Selector {
    	return SelectorFromSet(ls)
    }
    
    // AsValidatedSelector converts labels into a selectors.
    // The Set is validated client-side, which allows to catch errors early.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  3. pkg/test/util/file/file.go

    func AsStringArray(files ...string) ([]string, error) {
    	out := make([]string, 0, len(files))
    	for _, f := range files {
    		b, err := AsBytes(f)
    		if err != nil {
    			return nil, err
    		}
    		out = append(out, string(b))
    	}
    	return out, nil
    }
    
    // AsStringArrayOrFail calls AsStringOrFail and then converts to string.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/codec.go

    		return err
    	}
    	if err := c.convertor.Convert(&parameters, input, nil); err != nil {
    		return err
    	}
    	// if we have defaulter, default the input before converting to output
    	if c.defaulter != nil {
    		c.defaulter.Default(input)
    	}
    	return c.convertor.Convert(input, into, nil)
    }
    
    // EncodeParameters converts the provided object into the to version, then converts that object to url.Values.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:20:30 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/execution/plan/ToPlannedNodeConverter.java

         */
        boolean isInSamePlan(Node node);
    
        /**
         * Converts a node to a planned node.
         * <p>
         * Expects a node of the {@link #getSupportedNodeType() supported type} that is in the {@link #isInSamePlan(Node) same plan}.
         */
        PlannedNodeInternal convert(Node node, List<? extends NodeIdentity> nodeDependencies);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 21 15:00:56 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

        }
    
        /**
         * Converts all line separators in the specified string to the specified line separator.
         */
        @Nullable
        public static String convertLineSeparators(@Nullable String str, String sep) {
            logDeprecation();
            return str == null ? null : replaceLineSeparatorsOf(str, sep);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.h

      bool enable_soft_placement;
      bool set_original_tf_func_name = false;
    };
    
    // TODO(antiagainst): Directly manipulating files in library functions is not
    // a good idea. We should pass in a string/stream here.
    
    // Converts a TensorFlow GraphDef contained in `input` param into a MLIR module.
    // Creates MLIR entities into the given MLIR `context`.
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>>
    GraphdefToMlirTranslateFunction(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.h

    namespace mlir {
    namespace TFL {
    
    // Converts all the tfl.quantize/tfl.dequantize ops to the ops in the mlir.quant
    // dialect ones in the function.
    void ConvertTFLQuantOpsToMlirQuantOps(func::FuncOp func);
    
    // Converts all the mlir.quant dialect ops to the tfl.quantize/tfl.dequantize
    // ops in the function.
    void ConvertMlirQuantOpsToTFLQuantOps(func::FuncOp func);
    
    // A helper class to convert target function to another representation using
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/timestruct.go

    func TimespecToNsec(ts Timespec) int64 { return ts.Nano() }
    
    // NsecToTimespec converts a number of nanoseconds into a Timespec.
    func NsecToTimespec(nsec int64) Timespec {
    	sec := nsec / 1e9
    	nsec = nsec % 1e9
    	if nsec < 0 {
    		nsec += 1e9
    		sec--
    	}
    	return setTimespec(sec, nsec)
    }
    
    // TimeToTimespec converts t into a Timespec.
    // On some 32-bit systems the range of valid Timespec values are smaller
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta4/conversion.go

    import (
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/conversion"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    )
    
    // Convert_kubeadm_InitConfiguration_To_v1beta4_InitConfiguration converts a private InitConfiguration to a public InitConfiguration.
    func Convert_kubeadm_InitConfiguration_To_v1beta4_InitConfiguration(in *kubeadm.InitConfiguration, out *InitConfiguration, s conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top