Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 116 for tfsplits (0.19 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir

      %1 = "tf.AddV2"(%arg1, %cst_1) {device = "/job:localhost/replica:0/task:0/device:CPU:0"} : (tensor<i32>, tensor<i32>) -> tensor<i32>
      %3 = "tf.RaggedTensorToVariant"(%arg7) {RAGGED_RANK = 0 : i64, Tsplits = i64, Tvalues = i32, batched_input = false, device = "/job:localhost/replica:0/task:0/device:CPU:0"} : (tensor<*xi32>) -> tensor<!tf_type.variant>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:40:22 UTC 2024
    - 68.6K bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    			return err
    		}
    		f, err := fsys.Open(name)
    		if err != nil {
    			return err
    		}
    		defer f.Close()
    		_, err = io.Copy(tw, f)
    		return err
    	})
    }
    
    // splitUSTARPath splits a path according to USTAR prefix and suffix rules.
    // If the path is not splittable, then it will return ("", "", false).
    func splitUSTARPath(name string) (prefix, suffix string, ok bool) {
    	length := len(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      let summary = "";
    
      let arguments = (ins
        TF_StrTensor:$program_key,
        TF_Int32Tensor:$row_ids,
        TF_Int32Tensor:$col_ids,
        TF_Float32Tensor:$gains,
        TF_Int64Tensor:$splits,
        TF_Int32Tensor:$id_counts,
    
        ConfinedAttr<I64Attr, [IntMinValue<1>]>:$sample_count,
        ConfinedAttr<I64Attr, [IntMinValue<1>]>:$num_replica,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  4. src/runtime/metrics/description.go

    	//
    	// The format of the metric may be described by the following regular expression.
    	//
    	// 	^(?P<name>/[^:]+):(?P<unit>[^:*/]+(?:[*/][^:*/]+)*)$
    	//
    	// The format splits the name into two components, separated by a colon: a path which always
    	// starts with a /, and a machine-parseable unit. The name may contain any valid Unicode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  5. istioctl/pkg/workload/workload.go

    }
    
    func convertToStringMap(s []string) map[string]string {
    	out := make(map[string]string, len(s))
    	for _, l := range s {
    		k, v := splitEqual(l)
    		out[k] = v
    	}
    	return out
    }
    
    // splitEqual splits key=value string into key,value. if no = is found
    // the whole string is the key and value is empty.
    func splitEqual(str string) (string, string) {
    	idx := strings.Index(str, "=")
    	var k string
    	var v string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. src/net/netip/netip.go

    // Addr returns p's IP address.
    func (p AddrPort) Addr() Addr { return p.ip }
    
    // Port returns p's port.
    func (p AddrPort) Port() uint16 { return p.port }
    
    // splitAddrPort splits s into an IP address string and a port
    // string. It splits strings shaped like "foo:bar" or "[foo]:bar",
    // without further validating the substrings. v6 indicates whether the
    // ip string should parse as an IPv6 address or an IPv4 address, in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/aot/tests/tfcompile_test.cc

      EXPECT_EQ(add_fn.error_msg(), "");
      EXPECT_EQ(add_fn.result0(), 3);
      EXPECT_EQ(add_fn.result0_data()[0], 3);
      EXPECT_EQ(add_fn.result0_data(), add_fn.results()[0]);
    }
    
    TEST(TFCompileTest, Splits) {
      Eigen::ThreadPool tp(1);
      Eigen::ThreadPoolDevice device(&tp, tp.NumThreads());
    
      SplitsComp fn;
    
      fn.set_thread_pool(&device);
      // x = [[1, 2], [3, 4]]
      fn.arg0(0, 0) = 1;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  8. src/go/parser/parser_test.go

    	{name: "select", format: "package main; func main() { «select { default: «» }» }", scope: true},
    }
    
    // split splits pre«mid»post into pre, mid, post.
    // If the string does not have that form, split returns x, "", "".
    func split(x string) (pre, mid, post string) {
    	start, end := strings.Index(x, "«"), strings.LastIndex(x, "»")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. src/debug/dwarf/line.go

    		sep := `\`
    		if strings.HasPrefix(dirname, "/") {
    			sep = `/`
    		}
    		dirname += sep
    	}
    	return drive + dirname + filename
    }
    
    // splitDrive splits the DOS drive letter or UNC share point from
    // path, if any. path == drive + rest
    func splitDrive(path string) (drive, rest string) {
    	if len(path) >= 2 && path[1] == ':' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        SameOperandsAndResultsScale]> {
      let summary = "Splits a tensor into `num_split` tensors along one dimension.";
    
      let description = [{
        Splits the `value` tensor along `split_dim` into a number of sub-tensors
        with same shape as the original one, except for `split_dim`. The grouping
        of the resultant sub-tensors is decided by `size-splits`. Same as tf.SplitV.
      }];
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top