Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 208 for emitError (0.45 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

      // represented with TF IfOp and WhileOp operations. In this case, there should
      // be only one basic blocks in the MLIR representation.
      if (!llvm::hasSingleElement(function)) {
        return function.emitError()
               << "expect the function to have 1 block while it has "
               << function.getBlocks().size();
      }
    
      if (failed(TF::CleanupAndCanonicalizeForResourceOpLifting(function)))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

                                             this->default_to_single_batch_);
      if (!this->allow_tensorlist_pass_through_) {
        if (failed(applyPartialConversion(module, target, std::move(patterns)))) {
          module.emitError(
              "Lowering tensor list ops is failed. Please consider using Select TF "
              "ops and disabling `_experimental_lower_tensor_list_ops` flag in the "
              "TFLite converter object. For example, "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

                   RewriteQuantizedSelectOp, RewriteQuantizedSliceOp,
                   RewriteQuantizedTransposeOp>(&ctx);
    
      if (failed(applyPatternsAndFoldGreedily(func_op, std::move(patterns)))) {
        func_op.emitError() << "Failed to convert stablehlo ops with uniform "
                               "quantized types to tflite ops.";
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  4. src/os/exec/exec_windows_test.go

    	cmd := testenv.Command(t, "cmd", "/c exit 88")
    	cmd.SysProcAttr = &syscall.SysProcAttr{NoInheritHandles: true}
    	err := cmd.Run()
    	exitError, ok := err.(*exec.ExitError)
    	if !ok {
    		t.Fatalf("got error %v; want ExitError", err)
    	}
    	if exitError.ExitCode() != 88 {
    		t.Fatalf("got exit code %d; want 88", exitError.ExitCode())
    	}
    }
    
    // start a child process without the user code explicitly starting
    // with a copy of the parent's SYSTEMROOT.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 23:07:55 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. src/internal/trace/traceviewer/static/trace_viewer_full.html

    return emitError('Invalid false started with f'+c);continue;case FALSE2:if(!c)continue;if(c==='l')state=FALSE3;else
    return emitError('Invalid false started with fa'+c);continue;case FALSE3:if(!c)continue;if(c==='s')state=FALSE4;else
    return emitError('Invalid false started with fal'+c);continue;case FALSE4:if(!c)continue;if(c==='e'){emitValueOpen(false);emitValueClose();state=stack.pop()||VALUE;}else
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      target.addLegalOp<mhlo::TupleOp>();
      if (failed(applyPartialConversion(getOperation(), target,
                                        std::move(patterns)))) {
        getOperation().emitError("mhlo to TF legalization failed.");
        signalPassFailure();
      }
    }
    
    }  // end namespace
    
    void PopulateLegalizeHloToTfPatterns(RewritePatternSet* patterns,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_metrics_test.go

    	tests := []struct {
    		name       string
    		volumeID   string
    		targetPath string
    		exitError  error
    	}{
    		{
    			name:       "volume with no driver",
    			volumeID:   "foobar",
    			targetPath: "/mnt/foo",
    			exitError:  transientError,
    		},
    	}
    
    	for _, tc := range tests {
    		metricsGetter := &metricsCsi{volumeID: tc.volumeID, targetPath: tc.targetPath}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_server_journal_windows.go

    		fmt.Sprintf("Get-WinEvent -ListProvider %s | Format-Table -AutoSize", service)}...)
    
    	_, err := cmd.CombinedOutput()
    	if err != nil {
    		// Get-WinEvent will return ExitError if the service is not listed as a provider
    		if _, ok := err.(*exec.ExitError); ok {
    			return false
    		}
    		// Other errors imply that CombinedOutput failed before the command was executed,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 15:54:36 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_mounter_test.go

    			}
    
    			// Mounter.SetUp()
    			err = csiMounter.SetUp(volume.MounterArgs{})
    			if tc.setupShouldFail {
    				if err != nil {
    					if tc.exitError != nil && reflect.TypeOf(tc.exitError) != reflect.TypeOf(err) {
    						t.Fatalf("expected exitError type: %v got: %v (%v)", reflect.TypeOf(tc.exitError), reflect.TypeOf(err), err)
    					}
    					t.Log(err)
    					return
    				} else {
    					t.Error("test should fail, but no error occurred")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  10. src/internal/runtime/exithook/hooks.go

    		}
    	}()
    
    	for len(hooks) > 0 {
    		h := hooks[len(hooks)-1]
    		hooks = hooks[:len(hooks)-1]
    		if code != 0 && !h.RunOnFailure {
    			continue
    		}
    		h.F()
    	}
    }
    
    type exitError string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top