Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 170 for Fsetxattr (2.68 sec)

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

            if (auto device = result->DeviceForResource(output)) {
              LLVM_DEBUG(llvm::dbgs() << " Setting device = " << *device << "\n");
              identity->setAttr(kDeviceAttr, builder.getStringAttr(*device));
            }
          }
        } else if (auto while_region = dyn_cast<WhileRegionOp>(op)) {
          // For WhileRegion, do local analysis prior to visiting the attached
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc

        for (int i : llvm::seq<int>(0, metadata.result_devices.size())) {
          func_op.setResultAttr(
              i, kTFDeviceAttr,
              StringAttr::get(context, metadata.result_devices[i]));
        }
    
        func_op->setAttr(kHostAttr, StringAttr::get(context, host));
        func_op.setPublic();
        Block *block = func_op.addEntryBlock();
    
        // Clones and moves the operations into the function's body. And the cloned
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

                                         ModuleOp& module) {
      const auto ex_attr_value = module->getAttrOfType<IntegerAttr>(attr_name);
      if (ex_attr_value == nullptr) {
        module->setAttr(attr_name, attr_value);
        return success();
      }
      if (ex_attr_value == attr_value) {
        return success();
      }
      return op->emitOpError() << "module already contains an attribute "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

      // LINT.ThenChange(../../../../core/common_runtime/inline_function_utils.cc)
    
      for (Block &block : inlinedBlocks) {
        block.walk([&](Operation *op) {
          if (op->getDialect() == call->getDialect())
            op->setAttr(device_id, node_device(op));
        });
      }
    }
    
    struct TFInlinerInterface : public DialectInlinerInterface {
      using DialectInlinerInterface::DialectInlinerInterface;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_linux_s390x.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Setxattr(path string, attr string, data []byte, flags int) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	var _p1 *byte
    	_p1, err = BytePtrFromString(attr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux.go

    		}
    	} else if ret := cgocaller(cgo_libc_setuid, uintptr(uid)); ret != 0 {
    		err = errnoErr(Errno(ret))
    	}
    	return
    }
    
    //sys	Setpriority(which int, who int, prio int) (err error)
    //sys	Setxattr(path string, attr string, data []byte, flags int) (err error)
    //sys	Sync()
    //sysnb	Sysinfo(info *Sysinfo_t) (err error)
    //sys	Tee(rfd int, wfd int, len int, flags int) (n int64, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

    class ConvertEmbeddedLookupFunc {
     public:
      explicit ConvertEmbeddedLookupFunc(func::FuncOp func) : func_(func) {}
    
      void RewriteFunc() {
        func_->setAttr(kTFImplements,
                       StringAttr::get(func_.getContext(), "embedding_lookup"));
        Value lookup = func_.getArgument(1);
        Value value = func_.getArgument(0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

        if (!preceding_qcast) return failure();
    
        auto new_qcast = rewriter.create<quantfork::QuantizeCastOp>(
            q_op.getLoc(), q_op.getType(), preceding_qcast.getArg());
        new_qcast->setAttr(kVolatileOpAttrName, rewriter.getUnitAttr());
        q_op->replaceAllUsesWith(new_qcast);
        return success();
      }
    };
    
    bool PrepareQuantizePass::ContainsQuantizeOps(func::FuncOp func) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_linux_386.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Setxattr(path string, attr string, data []byte, flags int) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	var _p1 *byte
    	_p1, err = BytePtrFromString(attr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 34.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

            // tensorflow/lite/kernels/fully_connected.cc. The kernels will handle
            // the asymmetric_quantize_inputs attribute in the builtin option.
            dynamic_range_quantized_user->setAttr(
                kAsymmetricQuantizeInputsAttr,
                BoolAttr::get(rewriter.getContext(), true));
            changed = true;
          }
        }
        return changed;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top