Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for op_type (0.2 sec)

  1. tensorflow/c/eager/tape.h

      // least one input of the op is watched and has trainable dtype.
      //
      // op_type is used to decide which of the incoming gradients can be left as
      // nullptr instead of building zeros when build_default_zeros_grads == true.
      void RecordOperation(
          const string& op_type, const std::vector<TapeTensor>& output_tensors,
          absl::Span<const int64_t> input_tensor_id,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        }
        if (raw_device_name) {
          device_name_ = raw_device_name;
        }
        op_type_ = op;
        return absl::OkStatus();
      }
      Status SetOpName(const char* const op_name) override {
        if (op_) {
          return errors::FailedPrecondition(
              "SetOpName called on already built op.");
        }
        if (op_type_.empty()) {
          return errors::FailedPrecondition(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  3. tensorflow/c/eager/gradients.cc

          gtl::ArraySlice<AbstractTensorHandle*> gradient_tensors) const override;
    
      // Calls the passed-in backward function.
      // op_type is the op's name provided in RecordOperation.
      Status CallBackwardFunction(
          const string& op_type, GradientFunction* gradient_function,
          const std::vector<int64_t>& unneeded_gradients,
          gtl::ArraySlice<AbstractTensorHandle*> output_gradients,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental.cc

      return input_arg.number_attr().c_str();
    }
    
    int TF_OpIsStateful(const char* op_type, TF_Status* status) {
      const tensorflow::OpRegistrationData* op_reg_data;
      status->status =
          tensorflow::OpRegistry::Global()->LookUp(op_type, &op_reg_data);
      if (!status->status.ok()) {
        return 0;
      }
      return op_reg_data->op_def.is_stateful();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.h

        const char* op_name, int input_index, TF_Status* status);
    
    // Returns 1 if the op is stateful, 0 otherwise. The return value is undefined
    // if the status is not ok.
    TF_CAPI_EXPORT extern int TF_OpIsStateful(const char* op_type,
                                              TF_Status* status);
    
    // Platform specific initialization routine. Very few platforms actually require
    // this to be called.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  6. internal/bucket/replication/replication_test.go

    		{ObjectOpts{Name: "c1test", VersionID: "vid", DeleteMarker: true, SSEC: true, OpType: DeleteReplicationType}, cfgs[0], true}, // 7. permanent delete of version
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypesTest.java

        ParameterizedType ourType =
            Types.newParameterizedType(HashMap.class, String.class, int[][].class);
    
        new EqualsTester().addEqualityGroup(jvmType, ourType).testEquals();
        assertEquals(jvmType.toString(), ourType.toString());
        assertEquals(jvmType.hashCode(), ourType.hashCode());
        assertEquals(HashMap.class, ourType.getRawType());
        assertThat(ourType.getActualTypeArguments())
            .asList()
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  8. cmd/bucket-replication-stats.go

    	case replication.Pending:
    		if ri.OpType.IsDataReplication() && prevStatus != status {
    			rs.set(ri.Arn, ri.Size, 0, status, ri.OpType, ri.endpoint, ri.secure, ri.Err)
    		}
    	case replication.Completed:
    		if ri.OpType.IsDataReplication() {
    			rs.set(ri.Arn, ri.Size, ri.Duration, status, ri.OpType, ri.endpoint, ri.secure, ri.Err)
    		}
    	case replication.Failed:
    		if ri.OpType.IsDataReplication() && prevStatus == replication.Pending {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        ParameterizedType ourType =
            Types.newParameterizedType(HashMap.class, String.class, int[][].class);
    
        new EqualsTester().addEqualityGroup(jvmType, ourType).testEquals();
        assertEquals(jvmType.toString(), ourType.toString());
        assertEquals(jvmType.hashCode(), ourType.hashCode());
        assertEquals(HashMap.class, ourType.getRawType());
        assertThat(ourType.getActualTypeArguments())
            .asList()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/GeneralRange.java

            upEnd = other.getUpperEndpoint();
            upType = other.getUpperBoundType();
          }
        }
    
        if (hasLowBound && hasUpBound) {
          int cmp = comparator.compare(lowEnd, upEnd);
          if (cmp > 0 || (cmp == 0 && lowType == OPEN && upType == OPEN)) {
            // force allowed empty range
            lowEnd = upEnd;
            lowType = OPEN;
            upType = CLOSED;
          }
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top