Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 175 for Flat (0.1 sec)

  1. internal/s3select/sql/jsonpath.go

    )
    
    // jsonpathEval evaluates a JSON path and returns the value at the path.
    // If the value should be considered flat (from wildcards) any array returned should be considered individual values.
    func jsonpathEval(p []*JSONPathElement, v interface{}) (r interface{}, flat bool, err error) {
    	// fmt.Printf("JPATHexpr: %v jsonobj: %v\n\n", p, v)
    	if len(p) == 0 || v == nil {
    		return v, false, nil
    	}
    
    	switch {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/ops.h

        Initializer(const T& v) {  // NOLINT(runtime/explicit)
          typedef typename RealType<T>::type RealT;
          Tensor t(DataTypeToEnum<RealT>::v(), TensorShape());
          t.flat<RealT>()(0) = RealT(v);
          tensor = t;
        }
    
        Initializer(const Tensor& t) : tensor(t) {}  // NOLINT(runtime/explicit)
    
        /// Construct from a scalar value and an explicit shape
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils.cc

      }
    
      if (t.dtype() == ::tensorflow::DT_QINT8) {
        const auto arr = t.flat<::tensorflow::qint8>();
        return mlir::DenseElementsAttr::get(
            tensor_type.clone(IntegerType::get(tensor_type.getContext(), 8)),
            llvm::ArrayRef(arr.data(), arr.size()));
      } else if (t.dtype() == ::tensorflow::DT_QINT32) {
        const auto arr = t.flat<::tensorflow::qint32>();
        return mlir::DenseElementsAttr::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. pkg/config/resource/origin.go

    import "istio.io/istio/pkg/cluster"
    
    // Origin of a resource. This is source-implementation dependent.
    type Origin interface {
    	FriendlyName() string
    	Namespace() Namespace
    	Reference() Reference
    
    	// FieldMap returns the flat map containing paths of the fields in the resource as keys,
    	// and their corresponding line numbers as values
    	FieldMap() map[string]int
    	Comparator() string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/libtf/module.cc

    using tf::libtf::runtime::Runtime;
    
    // TODO(danielellis): Fill in with implementations.
    
    // Builds a vector of runtime representations of `SavedObject`s from a
    // SavedModel. These are returned as a flat list.  The full hierarchy building
    // and initialization should be done in a later pass.
    tensorflow::StatusOr<std::vector<Handle>> BuildObjects(TFPackage& tf_package) {
      std::vector<Handle> objects;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 02 20:02:30 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  6. cmd/data-scanner.go

    			f.newCache.deleteRecursive(thisHash)
    			f.newCache.replaceHashed(thisHash, folder.parent, *flat)
    			total := map[string]string{
    				"objects": strconv.FormatUint(flat.Objects, 10),
    				"size":    strconv.FormatInt(flat.Size, 10),
    			}
    			if flat.Versions > 0 {
    				total["versions"] = strconv.FormatUint(flat.Versions, 10)
    			}
    			stop(total)
    		}
    
    	}
    	// Compact if too many children...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/ComponentSpecIdentifier.java

         */
        ComponentSpecIdentifier child(String name);
    
        /**
         * Returns a name that can be used to identify this component uniquely within its project. The name belongs to a flat namespace and does not include any
         * hierarchy delimiters. As such, it can be safely used for task or file names.
         *
         * Implementation should attempt to produce a somewhat human consumable name (eg not a uuid).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/node_matchers.cc

          return false;
        }
      }
    
      for (int64_t i = 0, e = actual.NumElements(); i < e; i++) {
        if (actual.flat<T>()(i) != expected.flat<T>()(i)) {
          *listener << "\nmismatch in constant tensor at index " << i
                    << " expected = " << expected.flat<T>()(i)
                    << " actual = " << actual.flat<T>()(i);
          return false;
        }
      }
    
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 03 16:15:20 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  9. maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/src/main/mdo/supplemental-model.mdo

          <name>SupplementalDataModel</name>
          <version>1.0.0</version>
          <description>Root element of the supplemental-models.xml file.</description>
          <fields>
            <field xml.listStyle="flat">
              <name>supplement</name>
              <version>1.0.0</version>
              <description>Snippets of POM xml files used to supplement the data model.</description>
              <association>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 21 12:56:07 UTC 2009
    - 2.1K bytes
    - Viewed (0)
  10. cmd/data-usage_test.go

    		}
    		t.Fatal("got nil root.")
    	}
    
    	// Test dirs
    	want := []struct {
    		path       string
    		isNil      bool
    		size, objs int
    		oSizes     sizeHistogram
    	}{
    		{
    			path:   "flat",
    			size:   1322310 + expectSize,
    			objs:   8 + expectSize,
    			oSizes: sizeHistogram{0: 2 + expectSize, 1: 3, 2: 2, 4: 1},
    		},
    		{
    			path:   "bucket/",
    			size:   20000,
    			objs:   2,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Mar 27 15:10:40 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top