Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for sqrt (0.18 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

       * Map<String, Integer> map = ImmutableMap.of("a", 4, "b", 9);
       * Function<Integer, Double> sqrt =
       *     new Function<Integer, Double>() {
       *       public Double apply(Integer in) {
       *         return Math.sqrt((int) in);
       *       }
       *     };
       * Map<String, Double> transformed = Maps.transformValues(map, sqrt);
       * System.out.println(transformed);
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

       *      = ImmutableListMultimap.of("a", 4, "a", 16, "b", 9);
       * Function<Integer, Double> sqrt =
       *     new Function<Integer, Double>() {
       *       public Double apply(Integer in) {
       *         return Math.sqrt((int) in);
       *       }
       *     };
       * ListMultimap<String, Double> transformed = Multimaps.transformValues(map,
       *     sqrt);
       * System.out.println(transformed);
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  3. RELEASE.md

        * Add int8 and int16x8 support for RSQRT operator
    
    * Android NDK r25 is supported.
    
    ### Bug Fixes and Other Changes
    
    *   Add TensorFlow Quantizer to TensorFlow pip package.
    
    *   `tf.sparse.segment_sum` `tf.sparse.segment_mean` `tf.sparse.segment_sqrt_n` `SparseSegmentSum/Mean/SqrtN[WithNumSegments]`
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  4. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	}
    	pods := slices.Reference(podsr.Items)
    	if len(pods) > 0 {
    		// We need to pass in a sorter, and the one used by `kubectl logs` is good enough.
    		sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) }
    		sort.Sort(sortBy(pods))
    		return config.NamespacedName(pods[0]), nil
    	}
    	return types.NamespacedName{}, fmt.Errorf("no pods found")
    }
    
    type commonFlags struct {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    		if userPredicate != nil && !userPredicate(user) {
    			return true
    		}
    
    		ps := mappedPolicy.toSlice()
    		sort.Strings(ps)
    		r = append(r, madmin.UserPolicyEntities{
    			User:     user,
    			Policies: ps,
    		})
    		return true
    	})
    
    	sort.Slice(r, func(i, j int) bool {
    		return r[i].User < r[j].User
    	})
    
    	return r
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

                keys[i] = key;
                values[i] = value;
              }
            } else {
              // Need to sort and check for nulls and dupes.
              // Inline the Comparator implementation rather than transforming with a Function
              // to save code size.
              Arrays.sort(
                  entryArray,
                  0,
                  size,
                  (e1, e2) -> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/hex"
    	"fmt"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/amztime"
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash/sha256"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect the same order. If you
       * want a different order, consider using {@link #orderEntriesByValue(Comparator)}, which changes
       * this builder to sort entries by value.
       *
       * <p>Builder instances can be reused - it is safe to call {@link #buildOrThrow} multiple times to
       * build multiple bimaps in series. Each bimap is a superset of the bimaps created before it.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

       * the same order. If you want a different order, consider using {@link ImmutableSortedMap} to
       * sort by keys, or call {@link #orderEntriesByValue(Comparator)}, which changes this builder to
       * sort entries by value.
       *
       * <p>Builder instances can be reused - it is safe to call {@link #buildOrThrow} multiple times to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableList.java

          Iterable<? extends E> elements) {
        Comparable<?>[] array = Iterables.toArray(elements, new Comparable<?>[0]);
        checkElementsNotNull((Object[]) array);
        Arrays.sort(array);
        return asImmutableList(array);
      }
    
      /**
       * Returns an immutable list containing the given elements, in sorted order relative to the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
Back to top