Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for InvalidArgument (0.14 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        return absl::OkStatus();
      }
    
      absl::Status AddInput(AbstractTensorHandle* input) override {
        GraphTensor* t = dyn_cast<GraphTensor>(input);
        if (!t) {
          return tensorflow::errors::InvalidArgument(
              "Unable to cast input to GraphTensor");
        }
        TF_AddInput(op_.get(), t->output_);
        return absl::OkStatus();
      }
      absl::Status AddInputList(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. cmd/bucket-replication-handlers.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrBadRequest, InvalidArgument{
    			Bucket: bucket,
    			Err:    fmt.Errorf("Remote target ARN %s missing or ineligible for replication resync", arn),
    		}), r.URL)
    		return
    	}
    
    	if len(tgtArns) > 1 && arn == "" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrBadRequest, InvalidArgument{
    			Bucket: bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    	}
    
    	if r.APIVersion != batchExpireAPIVersion {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    "Unsupported batch expire API version",
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	if r.Bucket == "" {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    "Bucket argument missing",
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradients.cc

        gtl::ArraySlice<AbstractTensorHandle*> output_gradients,
        absl::Span<AbstractTensorHandle*> result) const {
      if (gradient_function == nullptr) {
        return errors::InvalidArgument(
            "Provided null gradient_function for '", op_type, "'.\n",
            "If the intent is to treat this op as non-differentiable consider "
            "using RegisterNotDifferentiable or "
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. cmd/object-api-errors.go

    	VersionID string
    	Err       error
    }
    
    // Unwrap the error to its underlying error.
    func (e GenericError) Unwrap() error {
    	return e.Err
    }
    
    // InvalidArgument incorrect input argument
    type InvalidArgument GenericError
    
    func (e InvalidArgument) Error() string {
    	if e.Err != nil {
    		return "Invalid arguments provided for " + e.Bucket + "/" + e.Object + ": (" + e.Err.Error() + ")"
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. cmd/server_test.go

    	response4, err := s.client.Do(request)
    	c.Assert(err, nil)
    	// Since max-keys parameter in the ListMultipart request set to invalid value of -2,
    	// its expected to fail with error message "InvalidArgument".
    	verifyError(c, response4, "InvalidArgument", "Part number must be an integer between 1 and 10000, inclusive", http.StatusBadRequest)
    }
    
    // TestObjectValidMD5 - First uploads an object with a valid Content-Md5 header and verifies the status,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    	}
    
    	onlineDisks := er.getDisks()
    	writeQuorum := fi.WriteQuorum(er.defaultWQuorum())
    
    	if cs := fi.Metadata[hash.MinIOMultipartChecksum]; cs != "" {
    		if r.ContentCRCType().String() != cs {
    			return pi, InvalidArgument{
    				Bucket: bucket,
    				Object: fi.Name,
    				Err:    fmt.Errorf("checksum missing, want %q, got %q", cs, r.ContentCRCType().String()),
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    			s3LogIf(ctx, err)
    			return opts, InvalidVersionID{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: vid,
    			}
    		}
    		if !versioned && !versionSuspended {
    			return opts, InvalidArgument{
    				Bucket: bucket,
    				Object: object,
    				Err:    fmt.Errorf("version-id specified %s but versioning is not enabled on %s", opts.VersionID, bucket),
    			}
    		}
    	}
    	return ObjectOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    			dataLen:            len(bytesData),
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusBadRequest,
    			wantAPICode:        "InvalidArgument",
    		},
    		// Test Case with invalid Content-Md5 value
    		3: {
    			bucketName:         bucketName,
    			objectName:         objectName,
    			headers:            invalidMD5Header,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  10. RELEASE.md

                Throws `RuntimeError` from Python or `InvalidArgument` from C++
            *   `tf.compat.v1.get_seed` if the global random seed has not yet been
                set (via `tf.random.set_seed`). Throws `RuntimeError` from Python or
                `InvalidArgument` from C++
    
    ## Security
    
    *   Fixes a code injection issue in `saved_model_cli`
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top