Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 168 for _retval (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

    static const char kImportModelDefaultGraphFuncName[] = "main";
    
    // Please refer to the TFG dialect description for the list of used attributes.
    // Belows are the attributes in TFE.
    // TFE Arguments and Results (Got from "_Arg",
    // "_Retval", .etc)
    //  NodeDef.device <-> "tf.device"
    //  NodeDef.attr <-> "tf."
    //
    // TFE general operations
    //  NodeDef.device <-> "device"
    //
    // The following two functions are only used for mapping/excluding attributes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

                                             .WithAttr("dtype", DT_FLOAT)
                                             .WithAttr("value", Tensor()));
        Node* b = ops::UnaryOp("Relu", a, builder.opts().WithName("B"));
        ops::UnaryOp("_Retval", b,
                     builder.opts()
                         .WithName("R")
                         .WithAttr("T", DT_FLOAT)
                         .WithAttr("index", 0));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        mlir::OperationName name = inner_op->getName();
        if (!name.isRegistered() &&
            // Skip unmodelled ops that are handled differently.
            (node_type_name != "_Arg" && node_type_name != "_Retval") &&
            !unmodelled_op_names_.count(name.getIdentifier())) {
          if (node.op_def().is_stateful()) {
            VLOG(1) << "[potentially conservative] Op type `" << node.type_string()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  4. pkg/test/framework/scope.go

    	}
    
    	for _, res := range s.resources {
    		if res == nil {
    			continue
    		}
    		resVal := reflect.ValueOf(res)
    		if resVal.Type().AssignableTo(targetT) {
    			if refVal.Kind() == reflect.Slice {
    				refVal.Set(reflect.Append(refVal, resVal))
    			} else {
    				refVal.Set(resVal)
    				return nil
    			}
    		}
    	}
    
    	if s.parent != nil {
    		// either didn't find the value or need to continue filling the slice
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 21:55:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testsanitizers/testdata/tsan.go

    #cgo LDFLAGS: -fsanitize=thread
    
    int val;
    
    int getVal() {
    	return val;
    }
    
    void setVal(int i) {
    	val = i;
    }
    */
    import "C"
    
    import (
    	"runtime"
    )
    
    func main() {
    	runtime.LockOSThread()
    	C.setVal(1)
    	c := make(chan bool)
    	go func() {
    		runtime.LockOSThread()
    		C.setVal(2)
    		c <- true
    	}()
    	<-c
    	if v := C.getVal(); v != 2 {
    		panic(v)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 700 bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

      TF_SetStatus(status, TF_OK, "");
      if (retvals[0] != nullptr) {
        TFE_DeleteTensorHandle(retvals[0]);
      }
      retvals[0] = nullptr;
      TFE_Execute(matmul2, &retvals[0], &num_retvals, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status));
      TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status);
      EXPECT_EQ(TF_OK, TF_GetCode(status));
      TF_DeleteTensor(t);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/mark_for_compilation_pass.cc

          "XlaVariadicReduce",
          "XlaVariadicReduceV2",
          "XlaVariadicSort",
          "XlaWhile",
          "Zeta",
          "_Arg",
          "_ArrayToList",
          "_ListToArray",
          "_Retval"};
      return result;
    }
    
    }  // namespace testing
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

    }
    
    Node* RetOp(int index, ops::NodeOut a, const GraphDefBuilder::Options& opts) {
      if (opts.HaveError()) return nullptr;
      NodeBuilder node_builder(opts.GetNameForOp("Retval"), "_Retval",
                               opts.op_registry());
      node_builder.Input(std::move(a)).Attr("index", index);
      return opts.FinalizeBuilder(&node_builder);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-device-retval.pbtxt

    A. Unique TensorFlower <******@****.***> 1605121757 -0800
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java

            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    
        public void close() throws IOException {
            MsrpcLsarClose rpc = new MsrpcLsarClose(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
Back to top