Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for emitError (0.26 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

                                        BlockArgument& block_arg) {
      // check that inputs length is same as num_replicas.
      if (inputs.size() != replicate.getN()) {
        return replicate.emitError()
               << "Expected numper of inputs (" << inputs.size()
               << ") to append to replicate to be num_replicas ("
               << replicate.getN() << ")";
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

          fetched_device_coordinates.ok()) {
        device_coordinates = *fetched_device_coordinates;
        return mlir::success();
      } else {
        return cluster.emitError() << "error in fetching tpu device coordinates: "
                                   << fetched_device_coordinates.status().message();
      }
    }
    
    int GetNumCoresPerReplica(mlir::tf_device::ClusterOp cluster) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  3. src/os/exec/exec_test.go

    		// resulting error should be an exec.ExitError without additional wrapping.
    		if _, ok := err.(*exec.ExitError); !ok {
    			t.Errorf("Wait error = %v; want *exec.ExitError", err)
    		}
    	})
    
    	// If Cancel returns ErrProcessDone but the process is not actually done
    	// (and has to be killed), Wait should report the usual SIGKILL ExitError,
    	// not the error from Cancel.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. src/os/exec/exec.go

    		// set it to nil to prevent awaitGoroutines from blocking on it.
    		c.goroutineErr = nil
    	}
    
    	resultc <- ctxResult{err: err}
    }
    
    // An ExitError reports an unsuccessful exit by a command.
    type ExitError struct {
    	*os.ProcessState
    
    	// Stderr holds a subset of the standard error output from the
    	// Cmd.Output method if standard error was not otherwise being
    	// collected.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. pkg/kubelet/container/runtime.go

    type CommandRunner interface {
    	// RunInContainer synchronously executes the command in the container, and returns the output.
    	// If the command completes with a non-0 exit code, a k8s.io/utils/exec.ExitError will be returned.
    	RunInContainer(ctx context.Context, id ContainerID, cmd []string, timeout time.Duration) ([]byte, error)
    }
    
    // Pod is a group of containers.
    type Pod struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top