Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Calculate (0.18 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        new_values.push_back(calculate(*(lhs_old_values.begin() + lhs_index),
                                       *(rhs_old_values.begin() + rhs_index)));
        IncrementIndex(result_shape, &current_index);
      }
      return DenseElementsAttr::get(type, ArrayRef<ElementValueT>(new_values));
    }
    
    /// Performs const folding `calculate` with broadcast behavior on the two
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/memorymanager/policy_static_test.go

    			},
    			pod:                   getPod("pod1", "container1", requirementsGuaranteed),
    			expectedTopologyHints: nil,
    			topologyHint:          &topologymanager.TopologyHint{},
    		},
    		{
    			description: "should calculate a default topology hint when no NUMA affinity was provided by the topology manager hint",
    			assignments: state.ContainerMemoryAssignments{},
    			expectedAssignments: state.ContainerMemoryAssignments{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      for (auto s : s1.getValues<APInt>()) s1_shape.push_back(s.getSExtValue());
    
      return true;
    }
    
    // Calculates r0 & r1 output based on inputs and calculated broadcasted shape.
    //
    // For given bcasted_shape, s0_shape and s1_shape, the broadcasted dimension is
    // calculated and push back to its corresponding result, r0 or r1. For example,
    // for s0_shape [1,4] and s1_shape [4, 4], bcasted_shape is computed to be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. cluster/gce/gci/configure-helper.sh

        sleep 3
      done
    }
    
    # Starts kubernetes controller manager.
    # It prepares the log file, loads the docker image, calculates variables, sets them
    # in the manifest file, and then copies the manifest file to /etc/kubernetes/manifests.
    #
    # Assumed vars (which are calculated in function compute-master-manifest-variables)
    #   CLOUD_CONFIG_OPT
    #   CLOUD_CONFIG_VOLUME
    #   CLOUD_CONFIG_MOUNT
    #   DOCKER_REGISTRY
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, 200)
    
    	// Create a byte array of 5MB.
    	// content for the object to be uploaded.
    	data := bytes.Repeat([]byte("0123456789abcdef"), 5*humanize.MiByte/16)
    	// calculate etag of the data.
    	etagBase64 := getMD5HashBase64(data)
    
    	buffer1 := bytes.NewReader(data)
    	objectName := "test-1-object"
    	// HTTP request for the object to be uploaded.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/optimize.cc

                tfl_broadcast_to_op.getOutput().getType())) {
          return rewriter.notifyMatchFailure(
              loc, "Not supported Reshape->BroadcastTo->Reshape pattern");
        }
    
        // Calculate the number of extra leading and trailing 1s in the
        // broadcast_op output.
        auto broadcast_output_shapetype =
            mlir::cast<ShapedType>(tfl_broadcast_to_op.getOutput().getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

                                bool is_kernel = false) -> mlir::Value {
          std::vector<int64_t> tensor_shape =
              mlir::cast<ShapedType>(tensor.getType()).getShape().vec();
    
          // Calculate offsets based on depth_idx, channel_idx and tensor_shape
          std::vector<int64_t> start_indices(tensor_shape.size(), 0);
          std::vector<int64_t> limit_indices = tensor_shape;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    			deleteMarkers = madmin.DeleteMarkers{Error: err.Error()}
    			usage = madmin.Usage{Error: err.Error()}
    		}
    
    		// Fetching the backend information
    		backendInfo := objectAPI.BackendInfo()
    		// Calculate the number of online/offline disks of all nodes
    		var allDisks []madmin.Disk
    		for _, s := range servers {
    			allDisks = append(allDisks, s.Disks...)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/mdo/maven.mdo

              <description>
                <![CDATA[
                The scope of the dependency - {@code compile}, {@code runtime},
                {@code test}, {@code system}, and {@code provided}. Used to
                calculate the various classpaths used for compilation, testing, and so on.
                It also assists in determining which artifacts to include in a distribution of
                this project. For more information, see
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 13:29:46 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods.go

    	}
    	s := kl.convertStatusToAPIStatus(pod, podStatus, oldPodStatus)
    	if utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) {
    		s.Resize = kl.determinePodResizeStatus(pod, s)
    	}
    	// calculate the next phase and preserve reason
    	allStatus := append(append([]v1.ContainerStatus{}, s.ContainerStatuses...), s.InitContainerStatuses...)
    	s.Phase = getPhase(pod, allStatus, podIsTerminal)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top